Skip to content
Discussion options

You must be logged in to vote

Hi @kurokida,

There's no way to change when the loop function is evaluated yet. This is an interesting use case that I hadn't thought of before, so I'm glad you brought it up.

I think one solution would be to add an on_finish to trial_1 that checks the time, and if the time has elapsed you can call jsPsych.endCurrentTimeline() (docs).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kurokida
Comment options

Answer selected by kurokida
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants