Skip to content

@lelantos-org/sdk / services/relayer / DepositStreamOptions

Interface: DepositStreamOptions โ€‹

Defined in: @lelantos-org/sdk/dist/services/relayer/deposit-stream.d.ts:53

Properties โ€‹

eventSourceFactory? โ€‹

ts
optional eventSourceFactory?: EventSourceFactory;

Defined in: @lelantos-org/sdk/dist/services/relayer/deposit-stream.d.ts:58

Builds the underlying source. Defaults to the global EventSource; required where there is none.


replayBuffer? โ€‹

ts
optional replayBuffer?: number;

Defined in: @lelantos-org/sdk/dist/services/relayer/deposit-stream.d.ts:65

Events retained for replay to late subscribers. The relayer does not replay, so without a buffer a flush published between broadcasting the deposit and calling awaitFlush is missed and the caller waits for an event that has already been and gone. Default 64.

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub