Schedules a function to the JavaScript task queue (also "macrotask queue").
Pass a function argument to schedule it for the next macrotask:
up.util.task(() => console.log('Hello from next task!'))
console.log('Hello from current task!')
The function to schedule.