effect-motion
API Referenceeffect-motionNamespacesPhaserFunctions

one

function one<A, E, R>(effect): Effect<A, E, Phaser | R>;

Function: one()

function one<A, E, R>(effect): Effect<A, E, Phaser | R>;

Defined in: packages/motion/src/Phaser.ts:160

Run effect, then arrive at the phase boundary.

Borrows the caller's party slot (no register/deregister) — that is what makes consecutive one calls handoff-gap-free.

Type Parameters

Type Parameter
A
E
R

Parameters

ParameterType
effectEffect<A, E, R>

Returns

Effect<A, E, Phaser | R>

On this page