cloudflare / cloudflare/workers-rs

[Feature] Support allowConcurrency and noCache options for Durable Object get() function

Open
#716 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
3.7k
Forks
429
Avg merge
20h 28m
Merged PRs (30d)
7

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Description

As described in https://developers.cloudflare.com/durable-objects/api/storage-api/#supported-options, it should be possible to submit a Durable Object `get()` request with the `allowConcurrency` and/or `noCache` options.

This _may_ already be possible today by calling https://github.com/cloudflare/workers-rs/blob/a16090aa737be88b1d647a7be319c5159b728c61/worker-sys/src/types/durable_object/namespace.rs#L39 directly. If so, we should document it and add an example.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.