@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.