Skip to content

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

Type Alias: FlushWait โ€‹

ts
type FlushWait = 
  | DepositFlushed
  | {
  kind: "aborted";
}
  | {
  kind: "closed";
};

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

Outcome of DepositStream.awaitFlush, discriminated on kind.

A value rather than a rejection, matching awaitCommitments: this runs after a successful broadcast, so neither an abort nor a dead feed means the deposit failed โ€” only that its settlement went unobserved.

The success arm is the event, so a narrowed wait reads its fields directly rather than through a wrapper.

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