Skip to content

WorkspaceProtocolHandler.unregister method

WorkspaceProtocolHandler › unregister

Unofficial

Unregister a handler for an action.

Signature:

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

Parameters:

Parameter Type Description
name string The action name.
handler? ObsidianProtocolHandler | undefined The handler to remove. If omitted, the action is removed unconditionally.

Returns: void