Skip to content

API Reference / @gtkx/animated / ControllerFlushFn

Type Alias: ControllerFlushFn<T>

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

Defined in: node_modules/.pnpm/@react-spring+core@10.1.2_react@19.2.8/node_modules/@react-spring/core/dist/react-spring_core.modern.d.mts:578

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>

Released under the MPL-2.0 License.