Interface: ConsumerContract
TypeScript 0.4.0 · Source commit cbff27b8a34e1384384018680e46c20d5c610cc9. Generated with reviewed comment corrections; see generation notes.
Defined in: types.ts:18
Forward declaration of Consumer interface Full implementation is in consumer.ts
This page documents a structural type referenced by the package API. ConsumerContract is a documentation label, not a named export from postgremq. Use type inference or the exported option types in application code.
Methods
messages()
messages():
AsyncIterableIterator<MessageContract>
Defined in: types.ts:20
Returns
AsyncIterableIterator<MessageContract>
stop()
stop():
Promise<void>
Defined in: types.ts:19
Returns
Promise<void>