- Preparing search index...
- The search index is not available
cardano-sdk
Function generalizeBackgroundMessenger
- generalizeBackgroundMessenger(channel: string, messenger: {
getChannel: ((channelName: string) => Channel);
shutdown(): void;
shutdownChannel(channelName: string): void;
}, logger: Logger): Messenger
-
Parameters
-
channel: string
-
messenger: {
getChannel: ((channelName: string) => Channel);
shutdown(): void;
shutdownChannel(channelName: string): void;
}
-
getChannel: ((channelName: string) => Channel)
-
shutdown:function
- shutdown(): void
-
Returns void
-
shutdownChannel:function
- shutdownChannel(channelName: string): void
-
Returns void
-
logger: Logger
Disconnect all existing ports and stop listening for new ones.