ServerMessageAfterEventSignal Class
Caution
This class is still in pre-release. Its signature may change or it may be removed in future releases.
Manages callbacks that are message passing to a server. This event is not currently fully implemented, and should not be used.
Methods
subscribe
subscribe(callback: (arg: MessageReceiveAfterEvent) => void): (arg: MessageReceiveAfterEvent) => void
Adds a callback that will be called when an internal message is passed.
Parameters
- callback: (arg: MessageReceiveAfterEvent) => void
Returns (arg: MessageReceiveAfterEvent) => void
Important
This function can't be called in read-only mode.
unsubscribe
unsubscribe(callback: (arg: MessageReceiveAfterEvent) => void): void
Removes a callback from being called when an internal message is passed.
Parameters
- callback: (arg: MessageReceiveAfterEvent) => void
Important
This function can't be called in read-only mode.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for