본문으로 건너뛰기

Interface: KernelBackendApi

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:227

Methods

invoke()

invoke<Input, Output>(path, input, options?): Promise<Output>

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:231

JSON convenience over request (rev4 §D1).

Type Parameters

Input

Input

Output

Output

Parameters

path

string

input

Input

options?

KernelOperationOptions & object

Returns

Promise<Output>


request()

request(path, options?): Promise<KernelBackendResponse>

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:229

Universal request API; streaming is a property of the response (rev4 §D1).

Parameters

path

string

options?

KernelBackendRequestOptions

Returns

Promise<KernelBackendResponse>