Add post_spawn signal. (#93)

Co-authored-by: David Hoover <hooverd@arizona.edu>
This commit is contained in:
David Hoover
2023-05-14 02:51:48 +02:00
committed by GitHub
co-authored by David Hoover
parent fb960104c3
commit 4ba9e0338a
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -31,6 +31,8 @@ def call_hook(sender, instance, **kwargs):
% {"hook": instance.hook, "name": instance.name, "error": str(e)}
)
# args: proc_name
post_spawn = Signal()
# args: task
pre_enqueue = Signal()