Provides an effect with the "live" environment.
Constructs a new Live
instance with an environment R
.
Constructs a new Live
instance with an environment R
. This should
typically not be necessary as TestEnvironment
provides access to live
versions of all the standard ZIO environmental effects but could be useful
if you are creating your own test interfaces and want to be able to access
the live version of these interfaces at the same time.
Constructs a new Live
service that implements the Live
interface.
Constructs a new Live
service that implements the Live
interface.
This typically should not be necessary as TestEnvironment
provides
access to live versions of all the standard ZIO environment types but
could be useful if you are mixing in interfaces to create your own
environment type.
Provides a transformation function with access to the live environment while ensuring that the effect itself is provided with the test environment.