@artinet/sdk
Version:
A TypeScript SDK for building collaborative AI agents.
20 lines (19 loc) • 663 B
TypeScript
/**
* Copyright 2025 The Artinet Project
* SPDX-License-Identifier: Apache-2.0
*/
import { A2A } from "../../../types/index.js";
export declare const subscribeToTask: A2A.Handles["resubscribe"];
export type SubscribeToTaskHandler = typeof subscribeToTask;
/**
* @deprecated Use SubscribeToTaskHandler instead
*/
export declare const resubscribe: (input: A2A.TaskIdParams, context: A2A.Context) => AsyncGenerator<A2A.Update>;
/**
* @deprecated Use SubscribeToTaskHandler instead
*/
export type TaskResubscribeHandler = typeof resubscribe;
/**
* @deprecated Use SubscribeToTaskHandler instead
*/
export type ResubscribeTaskMethod = TaskResubscribeHandler;