Closed jaros1 closed 6 years ago
Maybe as a extra parameter (object or callback function) to send_message function. wait for response file updates timeout counter in object or callback function to update spinner count. Now using 500 ms interval in message_demon (demon is running) and 250 ms interval in dbQuery loop (demon is not running). Best only to update counter in angularJS UI once every second. Must be a callback function as $scope.$apply() call is required for angularJS refresh
add spinner countdown (timeout - elapsed time)
Added countdown_cb options to MoneyNetworkAPI.send_message call and added spinner_countdown to send new chat msg with money transactions
Added countdown_cb to approve incoming money transaction. Tested OK
Could use send_message timeout interval for a spinner countdown in UI.