poolClose method

Future<bool> poolClose(
  1. int poolId
)

Closes pool poolId in the worker.

Implementation

Future<bool> poolClose(int poolId) async {
  final r = await _sendRequest<BoolResponse>(
    PoolCloseRequest(_nextRequestId(), poolId),
  );
  return r.value;
}