Initializersliemeobn.elementary 0.5.0Elementary
init(requiring:)
Creates an environment property that reads the value from the given TaskLocal
by force-unwrapping an optional.
init(requiring taskLocal: TaskLocal<T?>)
Parameters
- taskLocal
The
TaskLocal
to read the value from.
Note: Is the value is nil
during rendering, a fatal error will be thrown.