Skip to content

Releases: moonbitlang/async

v0.2.2

25 Jul 05:51
Compare
Choose a tag to compare
  • add directory reading API and file kind API
  • add group scoped cancel
  • fix starvation when data arrive faster than reading
  • bug fix: with_task_group will now wait for async cancellation
  • some other async cancellation related bug fix & internal refactor

v0.2.1

22 Jul 07:45
Compare
Choose a tag to compare
  • (breaking) @fs.File::read now returns the number of bytes, data length becomes an optional argument
  • (breaking) data length argument of @fs.File::write is now an optional argument
  • add optional offset to @fs.File::read and @fs.File::write
  • @fs.File::write now ensures all data are written
  • add @async.spawn_loop API with automatic retry
  • add file size and file seeking API to @fs.File
  • add keep alive support to @socket.TCP
  • adapt to latest MoonBit release (2025-07-22)
  • bugfix

v0.1.2

19 Jul 08:03
Compare
Choose a tag to compare
  • introduced preliminary file system IO support. Under the hood they are implemented via a IO worker thread pool
  • introduced asynchronous queue
  • semantic refinement: socket/pipe can have at most one writer at the same time. Multi writer scenario should be covered using dedicated writer task and asynchronous queue

v0.1.1

16 Jul 07:28
Compare
Choose a tag to compare
auto-run publish CI on release & bump minor version