You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
capnweb shim: doRpc overload for call-result stubs + byRef
- doRpc gains an overload accepting a raw-capability-typed stub (a call
result typed Stubbed<T> = T & Disposable), not just ShimStub<T> — the
mapped type can't reverse-infer T from those. Stubbed is now exported.
- byRef(fn) wraps a function as a pass-by-reference capability (an
RpcStub) instead of the default record-replay closure, so a callback
survives to be called back per invocation (e.g. a push/subscription
API) rather than recorded once at serialization.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments