X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=helpers%2Factions%2Finterrupt_wait.py;fp=helpers%2Factions%2Finterrupt_wait.py;h=36766a224cfcc5f652349ab8e8ce2f0024e60ea7;hb=c4f4f2a1d330d8e09021619bbb8dcaac4df0a602;hp=0000000000000000000000000000000000000000;hpb=a1d7f30a1cafbfcf3a0a561fcab71ce6437a3d45;p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git diff --git a/helpers/actions/interrupt_wait.py b/helpers/actions/interrupt_wait.py new file mode 100644 index 0000000..36766a2 --- /dev/null +++ b/helpers/actions/interrupt_wait.py @@ -0,0 +1,5 @@ +def run(action, wait_id=None): + action.mapping.interrupt_wait(wait_id) + +def description(action, wait_id=None, **kwargs): + return "interrupt wait with id {}".format(wait_id)