• Given a context with the state effect

    Parameters

    • context: ContextWithState
    • type: Type
    • Optional sizeInBytes: number
    • Optional roundTripTime: number
    • Optional downloadTime: number
    • Optional timestamp: number

    Returns StateAtom<NetworkSample, {
        setDownloadTimeSeconds: typeof __type;
        setRoundTripTimeSeconds: typeof __type;
        setSizeInBytes: typeof __type;
        setTimestamp: typeof __type;
        setType: typeof __type;
    }>

Generated using TypeDoc