packages feed

extensible-effects-concurrent 0.14.2 → 0.14.3

raw patch · 3 files changed

+11/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Control.Eff.Concurrent: handleCallsDeferred :: forall api eff effScheduler. (HasCallStack, Typeable api, SetMember Process (Process effScheduler) eff, Member Interrupts eff) => SchedulerProxy effScheduler -> (forall reply. (Typeable reply, Typeable (Api api ( 'Synchronous reply))) => Api api ( 'Synchronous reply) -> (reply -> Eff eff ()) -> Eff eff CallbackResult) -> MessageCallback api eff
+ Control.Eff.Concurrent: spawnLinkApiServer :: forall api eff. (ToServerPids api, HasCallStack) => MessageCallback api (InterruptableProcess eff) -> InterruptCallback (ConsProcess eff) -> Eff (InterruptableProcess eff) (ServerPids api)
+ Control.Eff.Concurrent: spawnLinkApiServerEffectful :: forall api eff serverEff. (HasCallStack, ToServerPids api, Member Interrupts serverEff, SetMember Process (Process eff) serverEff) => (forall b. Eff serverEff b -> Eff (InterruptableProcess eff) b) -> MessageCallback api serverEff -> InterruptCallback serverEff -> Eff (InterruptableProcess eff) (ServerPids api)

Files

ChangeLog.md view
@@ -1,8 +1,14 @@ # Changelog for extensible-effects-concurrent +## 0.14.3++- Export the functions introduced in 0.14.2 in `Control.Eff.Concurrent`.+ ## 0.14.2 -- Add Server2 functions to spawn and _link_+- Add `Server2` functions to spawn and _link_+- Add a `Server2` function to defer the reply to a `Call`s called:+  `handleCallsDeferred`  ## 0.14.1 
extensible-effects-concurrent.cabal view
@@ -1,5 +1,5 @@ name:           extensible-effects-concurrent-version:        0.14.2+version:        0.14.3 description:    Please see the README on GitHub at <https://github.com/sheyll/extensible-effects-concurrent#readme> synopsis:       Message passing concurrency as extensible-effect homepage:       https://github.com/sheyll/extensible-effects-concurrent#readme
src/Control/Eff/Concurrent.hs view
@@ -157,13 +157,16 @@                                                 ) import           Control.Eff.Concurrent.Api.Server2                                                 ( spawnApiServer+                                                , spawnLinkApiServer                                                 , spawnApiServerStateful                                                 , spawnApiServerEffectful+                                                , spawnLinkApiServerEffectful                                                 , CallbackResult(..)                                                 , MessageCallback(..)                                                 , handleCasts                                                 , handleCalls                                                 , handleCastsAndCalls+                                                , handleCallsDeferred                                                 , handleMessages                                                 , handleSelectedMessages                                                 , handleAnyMessages