mirror of
https://code.naskya.net/repos/ndqEd
synced 2025-03-20 15:14:54 +09:00
Implement outbox remote delivery, in handler and periodic, not used yet
This commit is contained in:
parent
7946fe441d
commit
d5eefd1553
11 changed files with 490 additions and 394 deletions
src/Control/Concurrent
|
@ -63,7 +63,7 @@ data ResultShare m k v a = ResultShare
|
|||
}
|
||||
|
||||
newResultShare
|
||||
:: MonadIO m => ResultShareSettings m k v a -> m (ResultShare m k v a)
|
||||
:: MonadIO n => ResultShareSettings m k v a -> n (ResultShare m k v a)
|
||||
newResultShare (ResultShareSettings fork action) = do
|
||||
tvar <- liftIO $ newTVarIO M.empty
|
||||
return $ ResultShare tvar fork action
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue