some clarification comments

This commit is contained in:
Felix Roos 2025-07-04 22:17:23 +02:00
parent e3680b96de
commit 34771f03d4
No known key found for this signature in database
3 changed files with 2 additions and 1 deletions

View file

@ -245,6 +245,7 @@ export function repl({
export const getTrigger =
({ getTime, defaultOutput }) =>
async (hap, deadline, duration, cps, t) => {
// ^ this signature is different from hap.context.onTrigger, as set by Pattern.onTrigger(onTrigger)
// TODO: get rid of deadline after https://codeberg.org/uzu/strudel/pulls/1004
try {
if (!hap.context.onTrigger || !hap.context.dominantTrigger) {