Module

Spork.Batch

#Batch

newtype Batch f a

A type for Batching effects/subscriptions.

Instances

#batch

batch :: forall f a. Array (f a) -> Batch f a

Builds a Batch from an Array.

#unBatch

unBatch :: forall f a. Batch f a -> Array (f a)

#lift

lift :: forall f a. f a -> Batch f a

Lifts a singleton effect/subscription into Batch.

Modules