Stream: wit-bindgen

Topic: Closures


view this post on Zulip Jeremy Slater (Mar 08 2024 at 17:18):

Does wit (and JCO) support closures? I don't see anything about it in the docs/repos. I guess in lieu of closures we can just pass an import resource...

view this post on Zulip Joel Dice (Mar 08 2024 at 17:28):

WIT doesn't have any specific support for closures or callbacks. Resources are the best option. See also https://bytecodealliance.zulipchat.com/#narrow/stream/206238-general/topic/.E2.9C.94.20functions.20taking.20functions.20as.20arguments.20in.20wit


Last updated: Dec 23 2024 at 12:05 UTC