Is this correct? In javascript if I run setTimeout(bleh, 1000), first a background API…
- User
Is this correct?
In javascript if I run setTimeout(bleh, 1000), first a background API runs, and then after 1000ms the function "bleh" is put onto the callback queue, and then once the event loop actually gets around to that callback, the function "bleh" will run.
So after I call setTimeout but before "bleh" runs, there are two possible states : the background API is still running, or "bleh" is on the callback queue.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.