mirror of
https://github.com/zoriya/lz.n.git
synced 2026-06-01 10:25:07 +00:00
docs(readme): fix handler table
This commit is contained in:
@@ -389,12 +389,12 @@ require("lz.n").register_handler(handler)
|
||||
#### `lz.n.Handler`
|
||||
|
||||
<!-- markdownlint-disable MD013 -->
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| spec_field | `string` | the `lz.n.PluginSpec` field used to configure the handler |
|
||||
| add | `fun(plugin: lz.n.Plugin)` | adds a plugin to the handler |
|
||||
| del | `fun(name: string)` | removes a plugin from the handler by name |
|
||||
| lookup | `fun(name: string` | lookup a plugin managed by this handler by name |
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| spec_field | `string` | the `lz.n.PluginSpec` field used to configure the handler |
|
||||
| add | `fun(plugin: lz.n.Plugin)` | adds a plugin to the handler |
|
||||
| del | `fun(name: string)` | removes a plugin from the handler by name |
|
||||
| lookup | `fun(name: string): lz.n.Plugin?` | lookup a plugin managed by this handler by name |
|
||||
<!-- markdownlint-enable MD013 -->
|
||||
|
||||
> [!TIP]
|
||||
|
||||
Reference in New Issue
Block a user