Task.removeTerminationHook

Unregisters a termination hook that would be executed when the Task is killed.

class Task
void
removeTerminationHook
(
scope void delegate
()
hook
)

Parameters

hook void delegate
()

delegate that would be called when the task terminates

Meta