streamCancel method
Cancels an active low-level native stream in the worker.
Implementation
Future<bool> streamCancel(int streamId) async {
final r = await _sendRequest<BoolResponse>(
StreamCancelRequest(_nextRequestId(), streamId),
);
return r.value;
}