{"repo":"cloudflare/actors","free":true,"listed":false,"github":"https://github.com/cloudflare/actors","clone":"git clone https://github.com/cloudflare/actors.git","description":"An easier way to build with Cloudflare Durable Objects","language":"TypeScript","stars":416,"topics":["actors","cloudflare","durable-objects","sqlite"],"license":"MIT","category":"databases-storage","readme_excerpt":"Cloudflare Actors This project is in active development. We are building a full-featured framework that makes developing Cloudflare Durable Objects easier by introducing new patterns and out of the box functionality that help developers. Features - Request Handler to easily define entrypoints to your Actor, Worker, or Request - Lifecycle Methods enable you to tap into important lifecycle events - Persistent Properties that store property values between requests and evictions - RPC Interface into other Actors with a simple MyActor.get('id') interface - Managing Instances track, delete, and access all instances that have been created - Location Placement allow you to control the location of your Actor - SQL Migrations to apply migrations to the SQLite storage - Multiple Alarms set any number of alarms by timestamp, delay, or cron - Retry utilities to retry operations using exponential backoff with jitter strategy, and to detect if Durable Object errors are retryable. And many more features, check out the Examples for more information. Getting Started Step 1: Install the package Step 2: Update your Wrangler Configuration Notice the code class name in your Typescript implementation must match the binding name , class name and new sqlite classes value in the configuration. Verify all of the values match. Step 3: Create your class implementation: Step 4: Deploy Examples - Basic Example - Request Handler - RPC Interface - Managing Instances - Lifecycle Hooks - Location Placement - H","default_branch":null,"files":null,"tree":[],"storefront":"/r/cloudflare","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cloudflare/actors/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}