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
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?
The text was updated successfully, but these errors were encountered:
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'sHost.RemoveStreamHandler
is asynchronous, so it is often the case thatEmbargo
returns before the stream handler is actually disabled.Two approaches to investigate:
event.Bus
that we can wait for?network.Notifiee
hook that we can tap into?The text was updated successfully, but these errors were encountered: