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

Publisher overview

Added in v0.3.0


Table of contents


models

Publisher (interface)

Signature

export interface Publisher<M> {
  readonly [TypeId]: TypeId
  readonly publish: (message: M) => Effect.Effect<void, PublisherError.PublisherError, never>
}

Added in v0.3.0

type ids

TypeId

Signature

export declare const TypeId: typeof TypeId

Added in v0.3.0

TypeId (type alias)

Signature

export type TypeId = typeof TypeId

Added in v0.3.0