steeloverseer-2.0.1.0: A file watcher and development tool.

Safe HaskellNone
LanguageHaskell2010

Sos

Synopsis

Documentation

runSos :: Sos a -> IO a Source #

Run an Sos action in IO, exiting if any SosExceptions are thrown.

sosEnqueueJobs :: (Applicative m, MonadError SosException m, MonadResource m) => [Rule] -> Stream (Of FileEvent) m a -> JobQueue -> m a Source #

Enqueue jobs on the given job queue resulting from to apply the given rules to each emitted file event from the given stream. This function returns when the stream is exhausted.

module Sos.Job

module Sos.Rule