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

Publisher.ts overview

Since v0.3.0


Exports Grouped by Category


models

Publisher (interface)

Signature

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

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