Subscriber.ts overview
Since v0.3.0
Exports Grouped by Category
models
Subscriber (interface)
Signature
export interface Subscriber<A, M> {
readonly [TypeId]: TypeId
readonly subscribe: <E, R>(
app: SubscriberApp.SubscriberApp<A, M, E, R>
) => Effect.Effect<void, SubscriberError.SubscriberError, Exclude<R, M>>
readonly healthCheck: Effect.Effect<void, SubscriberError.SubscriberError, never>
}
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