after

after ms ?script ...?
after cancel id|script
after idle script ?script ...?
after info ?id?

With a script, runs it from the event loop after ms milliseconds and gives an id. With no script, waits ms milliseconds. after idle runs the script when the loop has no other work. The script runs at the top level: build it with list. In the shell of the site, the loop runs on a virtual clock, so a wait ends at once.

Examples

Errors

Facts