Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
runHaxl :: forall u w a. Env u w -> GenHaxl u w a -> IO a Source #
Runs a Haxl
computation in the given Env
.
Note: to make multiple concurrent calls to runHaxl
, each one must
have a separate Env
. A single Env
must not be shared between
multiple concurrent calls to runHaxl
, otherwise deadlocks or worse
will likely ensue.
However, multiple Env
s may share a single StateStore
, and thereby
use the same set of datasources.