Add Plugin Lifecycle Hooks before/after each <py-script> tag executes #944
Labels
backlog
issue has been triaged but has not been earmarked for any upcoming release
tag: plugins
Related to the infrastructure of how plugins work, or to specific plugins.
type: feature
New feature or request
From a discussion on the Discord - for the purposes of enabling functionality around each PyScript tag, it would be nice to have a
before-py-script
andafter-py-script
lifecycle hook that execute immediately before and after each tag is evaluated. (Names suggested by @antocuni and are flexible.)Some possible use-cases are:
stdout
for each tag separatelyNot that these are perfect (or fully-fleshed-out) examples, but an idea of what might be possible.
The text was updated successfully, but these errors were encountered: