[question] How do the static members of Task work?

Thank you, @vns, @Diggory

That got me excited, but my quest ended at _getCurrentAsyncTask; I couldn't dive any deeper. :slight_smile:

// Task.swift
...
// ==== Internal ---------------------------------------------------------------
@available(SwiftStdlib 5.1, *)
@_silgen_name("swift_task_getCurrent")
public func _getCurrentAsyncTask() -> Builtin.NativeObject?

However, as @ktoso pointed out, the current execution context is the key to understanding how the static members of Task do their jobs.