MCPcopy
hub / github.com/pmndrs/react-spring / getFluidObservers

Function getFluidObservers

packages/shared/src/fluids.ts:50–51  ·  view source on GitHub ↗
(target: any)

Source from the content-addressed store, hash-verified

48
49/** Get the current observer set. Never mutate it directly! */
50const getFluidObservers: GetFluidObservers = (target: any) =>
51 target[$observers] || null
52
53/** Send an event to an observer. */
54function callFluidObserver<E extends FluidEvent>(

Callers 3

observeFunction · 0.90
_focusMethod · 0.90
hasFluidObserverFunction · 0.90

Calls

no outgoing calls

Tested by 1

hasFluidObserverFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…