get()
Gets the value currently bound to this task-local from the current task.
Declaration
final func get() -> ValueDiscussion
If no current task is available in the context where this call is made, or if the task-local has no value bound, this will return the defaultValue of the task local.