Type alias RemotePerson

RemotePerson: RemoteMemberImplInterface & Person & {
    onPublicationListChanged: Event<void>;
    onPublicationSubscribed: Event<{
        subscription: Subscription;
    }>;
    onPublicationUnsubscribed: Event<{
        subscription: Subscription;
    }>;
    onSubscriptionListChanged: Event<void>;
    subscribe: ((publicationId) => Promise<{
        subscription: Subscription;
    }>);
    unsubscribe: ((subscriptionId) => Promise<void>);
}

Type declaration

  • Readonly onPublicationListChanged: Event<void>
  • Readonly onPublicationSubscribed: Event<{
        subscription: Subscription;
    }>

    Description

    [japanese] この RemotePerson がPublicationをSubscribeしたとき

  • Readonly onPublicationUnsubscribed: Event<{
        subscription: Subscription;
    }>

    Description

    [japanese] この RemotePerson がPublicationをUnsubscribeしたとき

  • Readonly onSubscriptionListChanged: Event<void>
  • subscribe: ((publicationId) => Promise<{
        subscription: Subscription;
    }>)

    Description

    [japanese] この RemotePerson にPublicationをSubscribeさせる

      • (publicationId): Promise<{
            subscription: Subscription;
        }>
      • Parameters

        • publicationId: string

        Returns Promise<{
            subscription: Subscription;
        }>

  • unsubscribe: ((subscriptionId) => Promise<void>)

    Description

    [japanese] この RemotePerson にPublicationをUnsubscribeさせる

      • (subscriptionId): Promise<void>
      • Parameters

        • subscriptionId: string

        Returns Promise<void>