forked from tgrapperon/swift-composable-environment
-
Notifications
You must be signed in to change notification settings - Fork 0
GlobalEnvironment
maximkrouk edited this page May 5, 2022
·
1 revision
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-05-05T11:18:52+0000 using swift-doc 1.0.0-rc.1.