ReadonlydurableThe durable name that identifies this consumer across connections.
ReadonlystreamThe stream this consumer reads from.
Pulls up to batch messages, returning as soon as any arrive or the server expiry elapses.
The maximum number of messages to pull.
Optionalopts: FetchOptions
Optional server-side expiry for the pull.
The messages pulled (empty if none were available before expiry); each must be JsMessage.ack'd to prevent redelivery.
A bound durable pull consumer; call fetch to pull batches of messages.
Re-binding the same
(stream, durable)from a fresh connection resumes the same server-side cursor, so only un-acked messages are redelivered (see JsMessage).Since
1.0.0