shelly-extra 0.2.2 → 0.2.2.1
raw patch · 2 files changed
+8/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Shelly/Background.hs +7/−0
- shelly-extra.cabal +1/−1
Shelly/Background.hs view
@@ -1,4 +1,11 @@ {-# LANGUAGE OverloadedStrings, ScopedTypeVariables #-}+-- | A futures implementation that integrates with shelly+-- +-- > jobs 5 (\job -> background job (sleep 2) >> background job (sleep 1))+--+-- 'jobs' will wait for all concurrent jobs to finish.+-- The argument to jobs is the maximum number of concurrent tasks.+-- Generally shell scripts contain a lot of quick commands, but when you have the occasional command that is noticeably long and independent of other commands, you can easily run it concurrently. module Shelly.Background ( -- * Running external commands asynchronously. jobs, background, getBgResult, BgResult
shelly-extra.cabal view
@@ -1,6 +1,6 @@ Name: shelly-extra -Version: 0.2.2+Version: 0.2.2.1 Synopsis: shelly features that require extra dependencies Description: Please see the shelly package. Shelly provides a single module for convenient