-
Notifications
You must be signed in to change notification settings - Fork 10
GlobalEnvironment
tgrapperon edited this page Feb 24, 2022
·
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.
ComposableEnvironment, ComposableEnvironment, GlobalDependenciesAccessing, GlobalDependenciesAccessing
public required init() An argument-less initializer.
init()Generated at 2022-08-22T21:22:01+0000 using swift-doc 1.0.0-rc.1.