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
{{ message }}
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
Vat.Embargo is used to remove a capability from the vat. Callers should be able to know exactly when this operation succeeds, so that they can reason about access revocation. Unfortunately, libp2p's Host.RemoveStreamHandler is asynchronous, so it is often the case that Embargo returns before the stream handler is actually disabled.
Two approaches to investigate:
Is there a signal on event.Bus that we can wait for?
Is there a network.Notifiee hook that we can tap into?
Vat.Embargois used to remove a capability from the vat. Callers should be able to know exactly when this operation succeeds, so that they can reason about access revocation. Unfortunately, libp2p'sHost.RemoveStreamHandleris asynchronous, so it is often the case thatEmbargoreturns before the stream handler is actually disabled.Two approaches to investigate:
event.Busthat we can wait for?network.Notifieehook that we can tap into?