Interface: LatestQueue<Req>
Experimental
See the module docs.
Type Parameters
| Type Parameter |
|---|
Req |
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
busy | readonly | boolean | Experimental Whether a request is running. |
Methods
cancel()
ts
cancel(): void;Experimental
Drop the waiting request and ignore the result of the running one (e.g. pointer left).
Returns
void
dispose()
ts
dispose(): void;Experimental
Stop for good: nothing is delivered after this.
Returns
void
push()
ts
push(request): void;Experimental
Ask for request; replaces any request still waiting to start.
Parameters
| Parameter | Type |
|---|---|
request | Req |
Returns
void