register method

void register(
  1. PendingAsyncHook hook
)

Implementation

void register(PendingAsyncHook hook) {
  _pendingHooks[hook.processId] = hook;
}