cancel()

Cancel the current task.

Declaration

func cancel()