cellplatform / platform-0.2.0

/sys (shared system modules)
Other
4 stars 2 forks source link

crdt ← remote produce calls #143

Closed philcockfield closed 1 year ago

philcockfield commented 1 year ago
    const func = Crdt.func(
      props.lens((d) => Crdt.Func.field(d, 'func')),
      async (e) => console.log('run', e),
    );

    dev.button('run', (e) => func.invoke({}));