Skip to content

Releases: RougeWare/Swift-Atomic

0.2.0 - Added `performUnsafeOperation`

02 Sep 05:45
9e27235
Compare
Choose a tag to compare
Pre-release

Sometimes, it's better to have unguarded access (like when performing batch operations), so you don't have to switch in and out of the guard, possibly introducing async errors in that process.

.performUnsafeOperation(_:) allows you to manually perform some operation(s) on the wrapped value directly without the safety layer around it. It is still guarded by the exclusive access queue outside this call, but inside it you may do anything you want for as long as you want with as many accessors as you want.

0.1.0 - MVP

02 Sep 05:29
Compare
Choose a tag to compare
0.1.0 - MVP Pre-release
Pre-release

This initial 0.1.0 release is so we can start testing this in our products. If we find it's stable, we intend to add some unit tests and release a 1.0.0.