@homelib/utils
v0.0.0-wip.a41e1aad5ca6
Published
[](https://www.npmjs.com/package/@homelib/utils) [](../../LICENSE) [ => sensor.ready && light.ready);
const dispose = ready.then(() =>
sensor.onMotionDetected(() => {
light.turnOn();
}),
);.autorun() and .react() use the same activation lifetime for a MobX
autorun or immediate reaction. All three methods return a disposer for the
whole condition chain.
License
MIT License.
