Type alias RecordsSubscribeResponse

RecordsSubscribeResponse: DwnResponseStatus & {
    subscription?: DwnMessageSubscription;
}

Encapsulates the response from a DWN RecordsSubscriptionRequest

Type declaration

  • Optional subscription?: DwnMessageSubscription

    Represents the subscription that was created. Includes an ID and the close method to stop the subscription.