Skip to content

Access Durable Object state in Cloudflare adapterΒ #174

@schplitt

Description

@schplitt

Describe the change

Hi! The Cloudflare adapter for crossws has a method (handleDurableInit) that takes the Durable Object state, but there's no example or real implementation showing how to use it. I want to persist data in my Durable Object, but I'm not sure how to do that with crossws.

Is this a missing feature or just not documented yet? Could you add an example or clarify how state is meant to be used with crossws Durable Objects?

Thanks!

URLs

No response

Additional information

  • Would you be willing to help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions