platform-bible-react
    Preparing search index...

    Type Alias EventSeededState<T>Experimental

    What useEventSeededState reports.

    This type is unstable and may change or disappear without notice

    type EventSeededState<T> = {
        hasSeedFailed: boolean;
        value: T | undefined;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    hasSeedFailed: boolean

    Whether every seed read was rejected and retries ran out. Clears whenever a value is applied, from an event or from a recheck. A seed whose last retry is rejected after a recheck has supplied a value sets it again, so do not read it as "no value is held", nor a held value as "the seed was never rejected".

    This property is unstable and may change or disappear without notice

    value: T | undefined

    The latest valid value, or undefined until one arrives (or while the hook is disabled).

    This property is unstable and may change or disappear without notice