init(_:)

Creates an environment property that reads the value from the given TaskLocal.

Environment.swift:30
init(_ taskLocal: TaskLocal<T>)

Parameters

taskLocal

The TaskLocal to read the value from.