Make prototype of asynchronous function call.