What's Changed
Features
- New API -
Lifetime.CreateNested(out var lifetime)
with pooling
using (this.appLifetime.CreateNested(out var lifetime)) {
// use lifetime
}
Experimental Features
- New API -
Atom.FromSink
- New API -
Atom.UniTask.When
(hidden byUNIMOB_EXPERIMENTAL_UNITASK
define) - New API -
Atom.FromTask
(hidden byUNIMOB_EXPERIMENTAL_ASYNC_ATOM
define) - New API -
Lifetime.FromCancellationToken
Changes
- Various optimizations (pooling of
LifetimeController
's internal arrays, using newlifetime.CreateNested
api inAtom.When
, etc) - Mark
ILifetimeController
as obsolete
Full Changelog: 2.4.1...2.5.0