ProbeResult interface
What `probe` found out about an effect.
import type { ProbeResult } from '@dioramajs/effects/testing'interface ProbeResultMembers
| Name | Type | Description |
|---|---|---|
readonly error | unknown | Why it failed, if it did. |
readonly inputs | readonly string[] | Inputs the effect read in setup, in its node graph and in two updates, sorted. |
readonly policy | 'function' | 'hover' | 'input' | 'update' | 'visible' | 'fps' | The frame policy as declared, else as the runtime derives it: 'update' when the update answers with a boolean, else from the clocks the effect reads. |
readonly rest | number | Frames drawn once nothing changes any more: 0 means none at rest. |
readonly status | InstanceStatus | Status after setup and two updates. |
Defined in packages/effects/src/testing/probe.ts.