Bag

org.sigilaris.node.jvm.storage.swaydb.Bag
object Bag

Provides a cats-effect IO-based swaydb.Bag.Async implementation for SwayDB integration.

Attributes

Source
Bag.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Bag.type

Members list

Type members

Types

type Async[F[_]] = Async[F]

Type alias for the SwayDB asynchronous bag.

Type alias for the SwayDB asynchronous bag.

Attributes

Source
Bag.scala

Value members

Concrete methods

def fromRuntime(runtime: IORuntime): Async[IO]

Creates an asynchronous SwayDB bag backed by the given cats-effect IO runtime.

Creates an asynchronous SwayDB bag backed by the given cats-effect IO runtime.

Value parameters

runtime

the IORuntime to use for executing IO effects

Attributes

Returns

an Async[IO] bag suitable for SwayDB operations

Source
Bag.scala

Concrete fields

val global: Async[IO]

A global Async[IO] bag using the default cats-effect global runtime.

A global Async[IO] bag using the default cats-effect global runtime.

Attributes

Source
Bag.scala