init(asyncId, type, triggerAsyncId, resource)
Called when a class is constructed that has the possibility to emit an asynchronous event.