Skip to content

Utility interface for classes that provide listeners to Appose events.#11

Open
tinevez wants to merge 1 commit into
mainfrom
listener-util
Open

Utility interface for classes that provide listeners to Appose events.#11
tinevez wants to merge 1 commit into
mainfrom
listener-util

Conversation

@tinevez

@tinevez tinevez commented Jun 22, 2026

Copy link
Copy Markdown

This is expected to be useful for 3rd party developers that implement general Python tools via Appose. Appose env builder and python task execution generate events that are communicated via:

  • for env installation and downloading: a progress listener, an output listener and an error listener.
  • for task execution: a task listener.

Users can specify their own implementation, but this would require writing methods with a signature with 4 added parameters. To simplify this, the interface proposed here groups them in one, with an added close() method to hide any log widget that could have popped up.

This is expected to be useful for 3rd party developers that implement
general Python tools via Appose. Appose env builder and python task
execution generate events that are communicated via:
- for env installation and downloading: a progress listener, an output
listener and an error listener.
- for task execution: a task listener.

Users can specify their own implementation, but this would require
writing methods with a signature with 4 added parameters. To
simplify this, the interface proposed here groups them in one,
with an added close() method to hide any log widget that could have
popped up.
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

Successfully merging this pull request may close these issues.

1 participant