Endo
    Preparing search index...
    interface ChatParticipantOptions {
        chatroom: any;
        expectedRemoteMessage: string;
        localMessage: string;
        log?: InteropLog;
        name: string;
        timeoutMs?: number;
    }
    Index

    Properties

    chatroom: any

    The chatroom to join. May be a local ^chatroom Far (from makeChatroom) or a remote presence enlivened from an OCapN sturdyref.

    expectedRemoteMessage: string

    What this participant expects the other side to send. Resolution is gated on observing this string in new-message.

    localMessage: string

    What this participant sends once it observes another joiner.

    Optional progress sink for human-readable status lines.

    name: string

    self-proposed-name for this participant's user-controller pair.

    timeoutMs?: number

    Hard deadline for the whole exchange. Defaults to 30s.