Attribute Macrosยง
- durable_
object - Integrate the struct with the Workers Runtime as Durable Object.
Requires theDurableObject
trait with the durable_object attribute macro on the struct. - event
- The
event
macro is used to denote a Worker handler, essentially binding from the JS runtime to a Rust function. - send
- Convert an async function which is
!Send
to beSend
.