hl.dsp.global¶
- hl.dsp.global(name: string)¶
Create a dispatcher.
Signature¶
hl.dsp.global(name: string): HL.Dispatcher
Parameters¶
- namestring
Global shortcut string.
Returns¶
- dispatcher
HL.Dispatcher Dispatcher object returned by this function.
Examples¶
hl.dispatch(hl.dsp.global("some:global"))
See also¶
HL.DispatcherDispatcher object returned by this function.
hl.bind()Bind a dispatcher to a key.
hl.dispatch()Execute a dispatcher immediately.