Documentation
    Preparing search index...

    Interface MockMeshState

    In-memory state of the mock mesh extension.

    service.mock.state().reach.get(eventId); // member names that received it
    
    interface MockMeshState {
        kept: NostrEvent[];
        limits: { publishTtl: number; subscribeTtl: number };
        members: MockMeshMember[];
        online: boolean;
        owner: MockAccount;
        reach: Map<string, Set<string>>;
        subscriptions: Map<string, MockMeshSubscription>;
    }
    Index

    Properties

    kept: NostrEvent[]

    Non-ephemeral events kept on this device.

    limits: { publishTtl: number; subscribeTtl: number }

    The user's hop caps.

    members: MockMeshMember[]

    Circle members.

    online: boolean

    Circle transport running.

    The shell user.

    reach: Map<string, Set<string>>

    Published event id → member names it reached.

    subscriptions: Map<string, MockMeshSubscription>

    ${windowId}:${subId} → subscription.