flux-core icon indicating copy to clipboard operation
flux-core copied to clipboard

jobtap: allow plugins to call other plugin callbacks

Open grondo opened this issue 6 months ago • 0 comments

A use case has come up where it may be useful to allow a plugin to call other plugins in the jobtap plugin stack, e.g. similar to flux_shell_plugstack_call(3).

However, this could be slightly awkward since the jobtap interface is job focused (which is probably why we didn't think of this before). Likely something with a prototype like this would work:

int flux_jobtap_call (flux_plugin_t *p, const char *topic, flux_plugin_arg_t *args);

grondo avatar Jun 26 '25 21:06 grondo