Home > @theatre/dataverse > iterateAndCountTicks

iterateAndCountTicks() function

Signature:

export default function iterateAndCountTicks<V>(pointerOrDerivation: IDerivation<V> | Pointer<V>): Generator<{
    value: V;
    ticks: number;
}, void, void>;

Parameters

Parameter Type Description
pointerOrDerivation IDerivation<V> | Pointer<V>

Returns:

Generator<{ value: V; ticks: number; }, void, void>