Skip to main content Link Search Menu Expand Document (external link)

AMQPPublisher.ts overview

Since v0.3.0


Exports Grouped by Category


constructors

AMQPPublisherConfig (interface)

Signature

export interface AMQPPublisherConfig {
  /**
   * Retry schedule for a failed `publish`. Defaults to no retry. With
   * `confirm: true` a failure may concern a message the broker did receive,
   * so a retry can deliver it twice.
   */
  readonly retrySchedule?: Schedule.Schedule<unknown, AMQPError.AMQPChannelError>
}

Source

Since v0.3.2

make

Signature

declare const make: (config?: AMQPPublisherConfig) => Effect.Effect<AMQPPublisher, never, AMQPChannel.AMQPChannel>

Source

Since v0.3.0

models

AMQPPublishMessage (interface)

Signature

export interface AMQPPublishMessage {
  exchange: string
  routingKey: string
  content: Buffer
  options?: Options.Publish
}

Source

Since v0.3.0

AMQPPublisher (interface)

Signature

export interface AMQPPublisher extends Publisher.Publisher<AMQPPublishMessage> {
  readonly [TypeId]: TypeId
}

Source

Since v0.3.0

type ids

TypeId

Signature

declare const TypeId: unique symbol

Source

Since v0.3.0

TypeId (type alias)

Signature

type TypeId = typeof TypeId

Source

Since v0.3.0