mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-15 23:58:33 +00:00
pass all params to onTrigger
This commit is contained in:
parent
42fedec088
commit
00550ddab5
@ -18,8 +18,9 @@ export function repl({
|
||||
if (!hap.context.onTrigger) {
|
||||
return defaultOutput(hap, deadline, duration);
|
||||
}
|
||||
const cps = 1; // TODO: fix
|
||||
// call signature of output / onTrigger is different...
|
||||
return hap.context.onTrigger(getTime() + deadline, hap);
|
||||
return hap.context.onTrigger(getTime() + deadline, hap, getTime(), cps);
|
||||
},
|
||||
onError: onSchedulerError,
|
||||
getTime,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user