Skip to content

Function: createFailureLatch()

API / @xmachines/play-actor / createFailureLatch

function createFailureLatch(): FailureLatch;

Defined in: packages/play-actor/src/failure-latch.ts:202

Makes a FailureLatch.

The latch holds the three inputs BESIDE the flag. Clearing on each emission would be enough for a provider that can hook every emission, and the identity check covers the one that cannot: a render that runs again with nothing changed reports nothing, whether or not the provider noticed that it ran.

Returns

FailureLatch