Invokes the given function after the specified duration has passed.
function (function as function, delay as duration) as nullable any
function
delay
Returns the result of invoking function after duration delay has passed.
Function