dispatchData method
Dispatches a message to the correct stream controller.
Implementation
bool dispatchData({
required String endpoint,
required String method,
required UuidValue methodStreamId,
String? parameter,
required Object? value,
}) {
var streamContext = _inputStreamContexts[_buildStreamKey(
endpoint: endpoint,
method: method,
parameter: parameter,
methodStreamId: methodStreamId,
)];
if (streamContext == null) {
return false;
}
streamContext.controller.add(value);
return true;
}