@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Type Alias UseAwarenessResult<T>

    type UseAwarenessResult<T> = {
        sessions: readonly Awareness.RemoteSession<T>[];
        update: (value: T | undefined) => void;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    sessions: readonly Awareness.RemoteSession<T>[]

    Other clients' open sessions on this object, including those that share nothing right now.

    update: (value: T | undefined) => void

    Sets this client's value; undefined withdraws it.