在……的时候;当……发生时运行Async

Parameters

onRunAsync

Configures the lambda to simulate execution within runAsyncImpl.