hl.dsp.workspace.rename

hl.dsp.workspace.rename(spec: table)

Create a dispatcher.

Signature

hl.dsp.workspace.rename(spec: table): HL.Dispatcher

Parameters

workspaceHL.WorkspaceSelector

Workspace to rename.

namestring, optional

New name. Omit or nil to clear.

Returns

dispatcherHL.Dispatcher

Dispatcher object returned by this function.

Examples

hl.dispatch(hl.dsp.workspace.rename({ workspace = 3, name = "web" }))

See also

HL.Dispatcher

Dispatcher object returned by this function.

hl.bind()

Bind a dispatcher to a key.

hl.dispatch()

Execute a dispatcher immediately.