Skip to content

Commit

Permalink
docs: add service bindings table of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehesp committed Feb 3, 2023
1 parent 88e9c93 commit 7da0b11
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
5 changes: 5 additions & 0 deletions docs/platform/cloudflare/service-bindings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ description: Learn how to use Cloudflare Workers service bindings with Dart Edge

Cloudflare Workers provide additional runtime APIs on their platform, such as [Durable Objects](https://developers.cloudflare.com/workers/runtime-apis/durable-objects/) & [KV](https://developers.cloudflare.com/workers/runtime-apis/kv/). You can access these bindings via the `env` property during a `fetch` event.

**Table of contents**:

- [KV](#kv) - low-latency, key-value data store.
- [Durable Objects](#durable-objects) - low-latency coordination and consistent storage.

## KV

Workers KV is a global, low-latency, key-value data store. It stores data in a small number of centralized data centers, then caches that data in Cloudflare's data centers after access. KV supports exceptionally high read volumes with low latency, making it possible to build highly dynamic APIs and websites that respond as quickly as a cached static file would. While reads are periodically revalidated in the background, requests which are not in cache and need to hit the centralized back end can see high latencies. [Learn more](https://developers.cloudflare.com/workers/runtime-apis/kv/).
Expand Down
9 changes: 5 additions & 4 deletions packages/cloudflare_workers/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,11 @@ packages:
edge:
dependency: "direct main"
description:
path: "../edge"
relative: true
source: path
version: "0.0.1-dev.2"
name: edge
sha256: "464b7b8232e868dcc0a042b93a37c5b2826e2b3c06c7b754c77305fd4c7ab18f"
url: "https://pub.dev"
source: hosted
version: "0.0.2"
file:
dependency: transitive
description:
Expand Down
9 changes: 5 additions & 4 deletions packages/vercel_edge/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,11 @@ packages:
edge:
dependency: "direct main"
description:
path: "../edge"
relative: true
source: path
version: "0.0.1-dev.2"
name: edge
sha256: "464b7b8232e868dcc0a042b93a37c5b2826e2b3c06c7b754c77305fd4c7ab18f"
url: "https://pub.dev"
source: hosted
version: "0.0.2"
file:
dependency: transitive
description:
Expand Down

0 comments on commit 7da0b11

Please sign in to comment.