The stream that will be called when a session subscribes or fetches using a topic selector that matches no topics.
public interface IMissingTopicNotificationStream : IStream, ICallback
Stream instances can be registered using AddMissingTopicHandlerAsync(String, IMissingTopicNotificationStream).
Called when a session requests a topic that does not exist, and the topic path belongs to part of the topic tree for which this stream was registered.
void OnMissingTopic(IMissingTopicNotification notification)
The missing topic notification.
The implementation should take the appropriate action (for example, create the topic), and then call
Proceed() on the given
notification. This allows
the session request to continue and successfully resolve against the topic if it was created.
Alternatively, the stream can call Cancel() to discard the request. A stream should always call Proceed() or Cancel(), otherwise resources will continue to be reserved on the server and the session's request will not complete.