poolSetSize method
Resizes pool poolId to newMaxSize in the worker.
Implementation
Future<bool> poolSetSize(int poolId, int newMaxSize) async {
final r = await _sendRequest<BoolResponse>(
PoolSetSizeRequest(_nextRequestId(), poolId, newMaxSize),
);
return r.value;
}