1.4.0 • Published 8 months ago

@restatedev/restate-sdk-clients v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Documentation Examples Discord Twitter

Restate Typescript SDK Clients

Restate is a system for easily building resilient applications using distributed durable async/await.

This package contains the clients to interact with your Restate services, using fetch.

import * as restate from "@restatedev/restate-sdk-clients";

// Import the type of the service to call
import type { Greeter } from "./greeter-service";
const Greeter: Greeter = { name: "greeter" };

// Instantiate the Restate client
const rs = restate.connect({ url: "http://localhost:8080" });

// Get a typed client for Greeter
const greeter = rs.serviceClient(Greeter);

// Send a request to greet
const greeting = await greeter.greet(name);

Community

Using the SDK

To use this client, add the dependency to your project:

npm install @restatedev/restate-sdk-clients

Versions

This library follows Semantic Versioning.

1.4.0

8 months ago

1.3.3

9 months ago

1.3.2

9 months ago

1.3.1

10 months ago

1.3.0

10 months ago

1.2.0

11 months ago

1.2.1

11 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.1.2

12 months ago

1.0.1

1 year ago

1.0.0

1 year ago

0.9.2

1 year ago

0.9.1

1 year ago

0.9.0

1 year ago