-
Notifications
You must be signed in to change notification settings - Fork 10
GlobalEnvironment
tgrapperon edited this page Dec 26, 2021
·
5 revisions
A protocol characterizing a type that has no local dependencies.
public protocol GlobalEnvironment: GlobalDependenciesAccessing
If your environment has no local dependencies, that is, if all dependencies are global, you can
make it conform to GlobalEnvironment
. This opens access to environment-less pullbacks on
Reducers using this environment.
The only requirement is to provide an argument-less initializer. A default implementation is provided.
An argument-less initializer.
init()
Generated at 2022-08-22T21:22:01+0000 using swift-doc 1.0.0-rc.1.