exposeAelionExtension
此内容尚不支持你的语言。
exposeAelionExtension(
endpoint,manifest,handlers): () =>void
Defined in: packages/sdk/src/extension-host.ts:421
Worker-side counterpart. It exposes an explicit method table and supports cooperative cancellation without importing or receiving the editor Session.
Parameters
Section titled “Parameters”endpoint
Section titled “endpoint”AelionExtensionRuntimeEndpoint
manifest
Section titled “manifest”handlers
Section titled “handlers”Readonly<Record<string, AelionExtensionHandler>>
Returns
Section titled “Returns”():
void
Returns
Section titled “Returns”void