github pointfreeco/swift-dependencies 0.4.0

latest releases: 1.4.1, 1.4.0, 1.3.9...
17 months ago

What's Changed

  • Added: A withMainSerialExecutor test helper for executing a block of async code serially on the main executor (#81). This code is gated by @_spi(Concurrency):

    @_spi(Concurrency) import Dependencies
    
    await withMainSerialExecutor {
      // code in here will run predictably/serially
    }
  • Fixed: Dependencies can now be statically linked to the Swift standard library (thanks @finestructure, #80).

New Contributors

Full Changelog: 0.3.0...0.4.0

Don't miss a new swift-dependencies release

NewReleases is sending notifications on new releases.