Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/channel/custom/remote-object/remote-object.ts>RemoteObject.Response

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias RemoteObject.Response
import { type RemoteObject } from "https://deno.land/x/rimbu@1.1.0/channel/custom/remote-object/remote-object.ts";
const { Response } = RemoteObject;

Type defining a remote call response structure

definition: { type: "success"; value: any; } | { type: "fail"; error: any; }