Skip to content

Execution of function during post trial break #774

Answered by jodeleeuw
prajwalgatti asked this question in Q&A
Discussion options

You must be logged in to vote

Maybe with the async option for the call-function plugin? (docs here)

var trial = {
	type: 'call-function',
	func: function(done){
		setTimeout(done, 2000); // end the ITI after 2000ms
		generateStimulus();
	},
	async: true
}

Replies: 1 comment 1 reply

Comment options

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

Answer selected by prajwalgatti
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