@lelantos-org/sdk / services / FlushWait
Type Alias: FlushWait
ts
type FlushWait =
| DepositFlushed
| {
kind: "aborted";
}
| {
kind: "closed";
};Defined in: @lelantos-org/sdk/dist/services/relayer/deposit-stream.d.ts:21
Outcome of DepositStream.awaitFlush, discriminated on kind.
A value rather than a rejection: 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 itself.