io.funkode.resource.output.ResourceStore
See theResourceStore companion trait
object ResourceStore
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ResourceStore.type
Members list
Value members
Concrete methods
inline def fetchOneRelAs[R](urn: Urn, relType: String)(using evidence$4: Addressable[R]): WithResourceStore[Of[R]]
inline def fetchRelAs[R](urn: Urn, relType: String)(using evidence$3: Addressable[R]): WithResourceStreamStore[Of[R]]
inline def save[R](inline addressable: R)(using evidence$2: Addressable[R]): WithResourceStore[Of[R]]
inline def withStore[R](f: ResourceStore => WithResourceStore[R]): ZIO[ResourceStore, ResourceError, R]
inline def withStreamStore[R](f: ResourceStore => WithResourceStreamStore[R]): ZStream[ResourceStore, ResourceError, R]
Extensions
Extensions
extension [R, A](resourceIO: ZIO[R, ResourceError, Of[A]])
extension [R, A](resourceIO: ZIO[R, ResourceError, A])
extension [A](inline resourceIO: WithResourceStore[Of[A]])
inline def saveIfNotFound(inline alternativeResource: => A)(using Addressable[A]): WithResourceStore[Of[A]]
In this article