hl.dsp.workspace.rename¶
- hl.dsp.workspace.rename(spec: table)¶
Create a dispatcher.
Signature¶
hl.dsp.workspace.rename(spec: table): HL.Dispatcher
Parameters¶
- workspace
HL.WorkspaceSelector Workspace to rename.
- namestring, optional
New name. Omit or nil to clear.
Returns¶
- dispatcher
HL.Dispatcher Dispatcher object returned by this function.
Examples¶
hl.dispatch(hl.dsp.workspace.rename({ workspace = 3, name = "web" }))
See also¶
HL.DispatcherDispatcher object returned by this function.
hl.bind()Bind a dispatcher to a key.
hl.dispatch()Execute a dispatcher immediately.