Skip to content

WorkspaceProtocolHandler.unregister method

WorkspaceProtocolHandler › unregister

Unofficial

Unregister a handler for an action.

Signature:

unregister(name: string, handler?: ObsidianProtocolHandler | undefined): void

Parameters:

ParameterTypeDescription
namestringThe action name.
handler?ObsidianProtocolHandler | undefinedThe handler to remove. If omitted, the action is removed unconditionally.

Returns: void