Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type JobEnv = SessionEnv (Maybe Job) ServerCommand Source #
workDone_ :: (MonadUnliftIO m, Transport tp) => ByteString -> JobT tp m () Source #
schedLater :: (MonadUnliftIO m, Transport tp) => Int64 -> JobT tp m () Source #
schedLater' :: (MonadUnliftIO m, Transport tp) => Int64 -> Int -> JobT tp m () Source #
acquireLock :: (MonadUnliftIO m, Transport tp) => LockName -> Int -> JobT tp m Bool Source #
releaseLock :: (MonadUnliftIO m, Transport tp) => LockName -> JobT tp m () Source #
withLock :: (MonadUnliftIO m, Transport tp) => LockName -> Int -> JobT tp m () -> JobT tp m () Source #
withLock_ :: (MonadUnliftIO m, Transport tp) => LockName -> Int -> JobT tp m () -> JobT tp m () Source #
type BaseClientT u = NodeT u ServerCommand Source #
submitJob_ :: (MonadUnliftIO m, Transport tp) => Job -> BaseClientT u tp m Bool Source #
submitJob :: (MonadUnliftIO m, Transport tp) => FuncName -> JobName -> Maybe Workload -> Maybe Int64 -> BaseClientT u tp m Bool Source #
runJob_ :: (MonadUnliftIO m, Transport tp) => Job -> BaseClientT u tp m (Maybe ByteString) Source #
runJob :: (MonadUnliftIO m, Transport tp) => FuncName -> JobName -> Maybe Workload -> BaseClientT u tp m (Maybe ByteString) Source #