Skip to content

API Reference / @gtkx/animated / ControllerFlushFn

Type Alias: ControllerFlushFn<T> ​

ControllerFlushFn<T> = (ctrl, queue) => AsyncResult<T>

The flush function that handles start calls

Type Parameters ​

T ​

T extends Controller<any> = Controller

Parameters ​

ctrl ​

T

queue ​

ControllerQueue<InferState<T>>

Returns ​

AsyncResult<T>