UNPKG

openraas

Version:

Open Robot-as-a-Service Protocol - A comprehensive TypeScript library for building and consuming RaaS applications with X402 payment support on Solana

11 lines (10 loc) 400 B
import { RegistryAdapter } from './interface'; import { Robot } from '../core/types'; export declare class RedisRegistry implements RegistryAdapter { private redis; constructor(redisUrl: string); register(robot: Robot): Promise<void>; unregister(robotId: string): Promise<void>; find(criteria: Partial<Robot>): Promise<Robot[]>; get(robotId: string): Promise<Robot | null>; }