RuntimePluginHandler #

Runtime Plugin 的钩子处理函数。它收到钩子的值,可以是异步的。

TypeScript
type RuntimePluginHandler<T> = (value: T) => MaybePromise<void>

编辑此页

评论