request<T> method

  1. @override
Future<T> request<T>(
  1. ZwRequest<T> request
)
override

Send the specified request to the device and return a future that completes when the operation is complete.

Implementation

@override
Future<T> request<T>(ZwRequest<T> request) {
  final task = _RequestTask(this, request);
  _process(task);
  return request.completer.future;
}