trackWorld

fun trackWorld(world: World, handle: TaskHandle)

Tracks the specified task handle for the world.

The task will be automatically cancelled when the world is unloaded.

Parameters

world

the World to associate the task with

handle

the TaskHandle to track