alexcrichton opened issue #12091:
@dicej in the fuzzer I'm writing I'm finding that it's difficult to know when a producer/consumer is dropped by the guest in the host. Currently this is only detect-able via
Drop for MyThingwhich works well enough, but I was wondering if it would be viable to add afn close(...)method on the traits? The trait method would take aStoreContextMut<D>which would enable updating store state on close which would be convenient. Is this easy enough to slot in to the implementation?
alexcrichton added the wasm-proposal:component-model-async label to Issue #12091.
dicej commented on issue #12091:
Yeah, that makes sense. I'll give it a shot today.
Last updated: Dec 06 2025 at 06:05 UTC