interface LatestOperationController<TResult, TFailure = never> No documentation.
Properties
Methods
subscribe
subscribe(listener: () => void): () => void; No documentation.
run
run(intent: LatestOperationIntent<TResult, TFailure>): Promise<BridgeOutcome<TResult, TFailure> | undefined>; Keeps only the newest queued intent. Never rejects; failures are current.error.
clear
clear(mode?: "cancel" | "replace"): void; Drops queued intent. cancel requests cancellation of the captured current read; replace detaches the old observation and suppresses cancellation because the application has established a fresh session/admission boundary and owns the old work's drain. Only replace clears uncertain admission.
dispose
dispose(): void; Drops queued intent and settles observations, without cancelling accepted work.