WASIComponentAsyncEndpointHandles constructor

WASIComponentAsyncEndpointHandles({
  1. required int readable,
  2. required int writable,
})

Creates an endpoint handle pair.

Implementation

WASIComponentAsyncEndpointHandles({
  required this.readable,
  required this.writable,
}) {
  _checkU32Handle(readable, 'readable');
  _checkU32Handle(writable, 'writable');
}