IORef package:streamly-core
Modify the value of an
IORef using a function with strict
application.
Pre-release
Create a new
IORef.
Pre-release
Generate a stream by continuously reading the IORef.
This operation reads the IORef without any synchronization. It can be
assumed to be atomic because the IORef (MutableByteArray) is always
aligned to Int boundaries, we are assuming that compiler uses single
instructions to access the memory. It may read stale values though
until caches are synchronised in a multiprocessor architecture.
Pre-release
Read a value from an
IORef.
Pre-release
Write a value to an
IORef.
Pre-release