logo
首页技术栈工具库讨论
stm-orelse-io

stm-orelse-io

While tinkering on a project, I frequently found myself wanting to wait for an IO operation unless something more important came up. The Control.Concurrent.STM.OrElseIO module is meant to reduce the boilerplate needed when choosing between IO actions and STM operations. You must use the threaded runtime with this package. TODO: Kill off IO threads whose return values will never be needed. Possibly rename runOrElse and friends to orElseIO or similar.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
HACKAGE
carbal install stm-orelse-io
查看
标签
根据用户添加的标签生成
暂无标签