Skip to content

Commit 32bd39b

Browse files
authored
Fix typo in Take-A-Number Deluxe Step 6 (#1433)
1 parent c787cd2 commit 32bd39b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: exercises/concept/take-a-number-deluxe/.docs/instructions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Modify starting the machine. It should read the value under the key `:auto_shutd
106106

107107
Modify resetting the machine state to also pass `auto_shutdown_timeout` to `TakeANumberDeluxe.State.new/3`.
108108

109-
Modify the return values of all implemented callbacks (`init/1` and all `handle_*` callbacks) to set a timeout. Use the the value under the key `:auto_shutdown_timeout` in the current machine state. Do not add the timeout to the `{:stop, reason}` return value of `init/1` - timeouts only apply after the server has started its receive loop.
109+
Modify the return values of all implemented callbacks (`init/1` and all `handle_*` callbacks) to set a timeout. Use the value under the key `:auto_shutdown_timeout` in the current machine state. Do not add the timeout to the `{:stop, reason}` return value of `init/1` - timeouts only apply after the server has started its receive loop.
110110

111111
Implement a `GenServer` callback to handle the `:timeout` message that will be sent to the machine if it doesn't receive any other messages within the given timeout. It should exit the process with reason `:normal`.
112112

0 commit comments

Comments
 (0)