convex
Version:
Client for the Convex Cloud
16 lines • 517 B
TypeScript
import { ActionRequest, ActionId, ActionResponse } from "./protocol.js";
export declare class ActionManager {
private inflightActions;
constructor();
request(udfPath: string, args: any[], actionId: ActionId): {
message: ActionRequest;
result: Promise<any>;
};
/**
* Update the state after receiving a action response.
*/
onResponse(response: ActionResponse): void;
hasInflightActions(): boolean;
restart(): void;
}
//# sourceMappingURL=action_manager.d.ts.map