remove static method
Remove all wires for specific signal, for more precise target to remove add scope and/or listener
All middleware will be informed from WireMiddleware.onRemove after signal removed, only if existed
Returns bool
telling signal existed in communication layer
Implementation
static Future<bool> remove({String? signal, Object? scope, WireListener<dynamic>? listener}) async {
if (signal != null) return _removeAllBySignal(signal, listener: listener);
if (scope != null) return (await _removeAllByScope(scope, listener: listener)).isNotEmpty;
if (listener != null) return (await _removeAllByListener(listener)).isNotEmpty;
return false;
}