New
2.1.0
New:
- Add
SnapshotNotifierenum to control whether Molecule automatically sends snapshot apply notifications. If you are using Molecule with another Compose-based library in a single application, you may want to disable our snapshot notification. See the enum for details on when that is appropriate. Additionally, theapp.cash.molecule.snapshotNotifiersystem property can be set to one of the enum entry names to control the default process-wide.
Changed:
- Any specified additional coroutine context elements will now be honored in the coroutine used internally with
RecompositionMode.Immediateto send frames and cause recomposition to occur. This is observable, most notably, when aCoroutineDispatcheris included, as now recompositions which occur after the first, synchronous one will occur on that dispatcher.
Fixed:
- Correct calculation of frame nano time for native Windows and native Linux targets.