Comments (3)
"timer" or "timeout"? Names names names.
from stm.
In general I like it. However I think updateTimer
needs to be IO
, not STM
, right? There's no way to perform a transaction involving updateTimer
because the underlying API is IO
. Similarly cancelTimer
. Does that make the API less useful? You can't do a test-and-update or a test-and-cancel in the same transaction.
from stm.
Would it be possible for updateTimer
and cancelTimer
to return whether or not they worked?
from stm.
Related Issues (20)
- Please release the fix to the "flushTBQueue" bug! HOT 4
- If I create a new TChan, what happen if the TChan is not read but the children thread that creates it is closed? HOT 1
- MonadSTM HOT 6
- Please ensure no warnings for incomplete-uni-patterns HOT 1
- TBQueue of size 0 doesn't work as expected HOT 20
- stateTVar isn't strict HOT 4
- `catchSTM` does not rollback `newTVar` HOT 2
- Add MArray instance for TArray in IO
- newBroadcastTChan question HOT 1
- documentation for "thread blocked indefinitely in an STM transaction"? HOT 1
- registerDelay not implemented on the non-threaded runtime
- Dependency bounds on Hackage are wrong? HOT 9
- TBQueue haddock docs say "blocks" instead of "retries"
- Why is it blocked? HOT 3
- Huge dependency footprint due to `hashable-1.4.0.0` (via `nats`) HOT 4
- Nonexhaustive pattern in `TBQueue`
- add method to snapshot TBQueue without flushing HOT 3
- MonadFail instance (feature request) HOT 2
- Support size for TBQueue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stm.