registerCallResult<T extends NativeType> method

CallResult<T> registerCallResult<T extends NativeType>({
  1. required SteamApiCall asyncCallId,
  2. required void cb(
    1. Pointer<T> data,
    2. bool hasFailed
    ),
})
inherited

Register the CallResult to the Dispatcher

Implementation

CallResult<T> registerCallResult<T extends NativeType>({
  required SteamApiCall asyncCallId,
  required void Function(Pointer<T> data, bool hasFailed) cb,
}) =>
    _dispatcher.registerCallResult(
      asyncCallId: asyncCallId,
      cb: cb,
    );