| outline | deep |
|---|
Package:
devframe
Migrated from
DTK0001.
RPC function "
{name}" is already registered
ctx.rpc.register() was called twice with the same name. RPC names must be unique within a devtool.
Either give the second registration a distinct name, or pass force: true to overwrite the previous one (e.g. during HMR-driven re-registration).
ctx.rpc.register(defineRpcFunction({ name: 'my-plugin:fn', handler: () => 1 }), true /* force */)packages/devframe/src/rpc/collector.ts