how can one ask for input from REPL (STDIN), waiting for some time then return any way if there is no input??
I answered a similar question here:
2 Likes
Dear @adamslc
i ask for a some how different thing.
if there is no input (a user to interact) after some time. return with a default value then.
Instead of asking for input, just write functions for the user to call and pass in arguments.
1 Like
In what kind of application or context?
during receiving input from REPL.
thanks.
If you’re receiving input from the repl, then there must be a user controlling everything, no?
i want to give the user a time frame to respond else a default will apply.