Introduce runtime.connect.
ClosedPublic

Authored by featherless on Wed, Mar 8, 4:23 PM.

Details

Summary

This API is used to connect a single stream to a reactive property. runtime.add is now only used for adding interactions to properties or views.

This separation of registration mechanisms will help us audit code for use of streams throughout L1-space. It also paints a clear picture of when an interaction is being used vs a stream or property.

Diff Detail

Repository
rREACTIVEMOTIONSWIFT reactive-motion-swift
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
featherless created this revision.Wed, Mar 8, 4:23 PM
markwei accepted this revision.Wed, Mar 8, 4:24 PM
This revision is now accepted and ready to land.Wed, Mar 8, 4:24 PM
This revision was automatically updated to reflect the committed changes.