Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear types in Plugin Manager/Plugin.md #82

Open
Tracked by #68
pklaschka opened this issue Oct 18, 2022 · 0 comments
Open
Tracked by #68

Unclear types in Plugin Manager/Plugin.md #82

pklaschka opened this issue Oct 18, 2022 · 0 comments

Comments

@pklaschka
Copy link
Contributor

pklaschka commented Oct 18, 2022

  • ## showPanel(panelId)
    Show panel with the given ID. This api may be routed to the host app which can chose to disallow it. Used for commmunicating with other plugins (IPC : Inter Plugin Communication)
    Note: There is API to hide a panel, panels can be shown but can not be hid.
    **Returns**: `Promise`
    Promise of/for what? void?
  • ## invokeCommand(commandId, ...params)
    Invoke command with given ID. This api may be routed to the host app which can chose to disallow it.
    Used for commmunicating with other plugins (IPC : Inter Plugin Communication)
    **Returns**: `Promise`
    Promise of/for what? void?
  • ## invokeCommand(commandId, ...params)
    Invoke command with given ID. This api may be routed to the host app which can chose to disallow it.
    Used for commmunicating with other plugins (IPC : Inter Plugin Communication)
    **Returns**: `Promise`
    | Param | Type | Description |
    | --- | --- | --- |
    | commandId | `String` | id of the command to be invoked |
    | ...params | | command arguments to be passed to invokeCommand |
    It isn't clear how parameters work in this context

Originally opened as part of the code review of #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant