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>
}
Since v0.3.2
make
Signature
declare const make: (config?: AMQPPublisherConfig) => Effect.Effect<AMQPPublisher, never, AMQPChannel.AMQPChannel>
Since v0.3.0
models
AMQPPublishMessage (interface)
Signature
export interface AMQPPublishMessage {
exchange: string
routingKey: string
content: Buffer
options?: Options.Publish
}
Since v0.3.0
AMQPPublisher (interface)
Signature
export interface AMQPPublisher extends Publisher.Publisher<AMQPPublishMessage> {
readonly [TypeId]: TypeId
}
Since v0.3.0
type ids
TypeId
Signature
declare const TypeId: unique symbol
Since v0.3.0
TypeId (type alias)
Signature
type TypeId = typeof TypeId
Since v0.3.0