Module

Spork.Batch

Package
purescript-spork
Repository
natefaubion/purescript-spork

#Batch Source

newtype Batch f a

A type for Batching effects/subscriptions.

Instances

#batch Source

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

Builds a Batch from an Array.

#unBatch Source

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

#lift Source

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

Lifts a singleton effect/subscription into Batch.