TxnStep

object TxnStep
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any
TxnStep.type

Type members

Classlikes

final case class Eval[A](body: CallbackTo[A]) extends TxnStep[RO, A]
final case class FlatMap[M <: TxnMode, A, B](from: TxnStep[M, A], f: A => TxnStep[M, B]) extends TxnStep[M, B]
final case class GetStore[K, V](defn: Sync[K, V]) extends TxnStep[RO, ObjectStore[K, V]]
final case class Map[M <: TxnMode, A, B](from: TxnStep[M, A], f: A => B) extends TxnStep[M, B]
final case class StoreAdd(store: ObjectStore[_, _], key: IndexedDbKey, value: IDBValue) extends TxnStep[RW, Unit]
final case class StoreClear(store: ObjectStore[_, _]) extends TxnStep[RW, Unit]
final case class StoreDelete[K, V](store: ObjectStore[K, V], key: IndexedDbKey) extends TxnStep[RW, Unit]
final case class StoreGet[K, V](store: ObjectStore[K, V], key: IndexedDbKey) extends TxnStep[RO, Option[V]]
final case class StoreGetAllKeys[K, V](store: ObjectStore[K, V]) extends TxnStep[RO, Vector[K]]
final case class StoreGetAllVals[K, V](store: ObjectStore[K, V]) extends TxnStep[RO, Vector[V]]
final case class StorePut(store: ObjectStore[_, _], key: IndexedDbKey, value: IDBValue) extends TxnStep[RW, Unit]
final case class Suspend[M <: TxnMode, A](body: CallbackTo[TxnStep[M, A]]) extends TxnStep[M, A]
final case class TailRec[M <: TxnMode, A, B](a: A, f: A => TxnStep[M, Either[A, B]]) extends TxnStep[M, B]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def pure[A](a: A): TxnStep[RO, A]

Concrete fields

val none: TxnStep[RO, Option[Nothing]]
val unit: TxnStep[RO, Unit]