Node.js implementation of the Amazon States Language specification: https://states-language.net/spec.html
A web application to visualize sudoku solving using backtracking
React application to visualize sudoku solving using backtracking
A scraper that gets the solutions of all of the CodeWars katas you have solved
These are my solutions to all of the Codewars problems I have solved
Add missing styles for page header
Fix bug where waitTimeOverrideOption
is not honored when passing 0
Merge pull request #28 from nibble-4bits/fix/zero-wait-time-override
Fix bug where waitTimeOverrideOption
is not honored when passing 0
Take the following example:
const result = await stateMachine.run(input, {
overrides: {
waitTimeOverrides: {
WaitState: 0,
},
},
});
If passing 0 as an override to waitTimeOverrides
, the state machine should wait 0 milliseconds, effectively not waiting any time in the overridden wait state. However, this is not the actual behavior. Instead, the state machine will wait the entire time specified in the wait state.
This PR fixes that behavior.
Take the following example:
const result = await stateMachine.run(input, {
overrides: {
waitTimeOverrides: {
WaitState: 0,
},
},
});
If passing 0 as an override to waitTimeOverrides
, the state machine should wait 0 milliseconds, effectively not waiting any time in the overridden wait state. However, this is not the actual behavior. Instead, the state machine will wait the entire time specified in the wait state.
This PR fixes that behavior.