Method StopExpecting | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
StopExpecting(string?, bool)
Removes callback and expectation that we will get a response for the given . Use to give up on very old requests e.g. if you want to send a different one with the same terminator.
void StopExpecting(string? requestTerminator, bool persistent)
Parameters
requestTerminator
string
persistent
bool
true if you want to remove a persistent request listener.