DO in rust, using (asyn) storage

Dont know anyone who uses rust for DOs that would be able to help but on javascript you run this.state.blockConcurrencyWhile(async () => { ... })
2 Replies
mackenzie
mackenzie12mo ago
Yes, I saw those JS examples - but in rust I am not sure what sync/async equivalent methods I can use. Maybe I need to use some block_on() primitive, but not sure if available in the runtime used in Workers…?
mackenzie
mackenzie12mo ago
It looks like there is no DurableObject in the examples 😦 https://github.com/search?q=repo%3Acloudflare%2Fworkers-rs%20DurableObject&type=code
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
Want results from more Discord servers?
Add your server