- Index
- »
- task
- »
- func:taskCur
def
func:taskCur
taskCur(checked: true)
Return current task if running within the context of an asynchronous task. If context is not within a task, then return null or raise an exception based on checked flag.
Return current task if running within the context of an asynchronous task. If context is not within a task, then return null or raise an exception based on checked flag.