asynchronous
This module provides asynchronous functions. Note: This module is in experimental, unexpected behaviour may occur to this module.
There are no constants.
sleep()
— Pause the program for the amount of time (in milliseconds)sleep_s()
— Pause the program for the amount of time (in seconds)
async
— This class enables asynchronous function call
construct()
— The constructor. Create an instance of class async
and perform asynchronous function call callback()
— Set callback to the function that called asynchronously