Replies: 1 comment
-
TODO: Write this better + link |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
UserInterfaceTools
is an abstract container that represents all the tools needed to interact with the user. It is implemented by concrete execution tools:ConsoleInterfaceTools
is a wrapper aroundreadline
module that interacts with the user via console.SimplePromptInterfaceTools
is a wrapper aroundwindow.prompt
synchronous function that interacts with the user via browser prompt. It is used for testing and mocking NOT intended to use in the production due to its synchronous nature.CallbackInterfaceTools
delagates the user interaction to a async callback function. You need to provide your own implementation of this callback function and its bind to UI.#76
Beta Was this translation helpful? Give feedback.
All reactions