Skip to content

Commit

Permalink
Clarify Kino.interrupt!/2 usage (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelterryio authored Sep 7, 2023
1 parent 754dc7b commit 9b75abd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/kino.ex
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,9 @@ defmodule Kino do
Interrupts evaluation with the given message.
This function raises a specific error to let Livebook known that
evaluation should be stopped. The error message is shown to the
user and they can retry evaluation with a button click, supposedly
after they resolve the interrupt reason.
evaluation should be stopped. The error message and a `Continue`
button are shown to the user, who can then attempt to resolve the
source of the interrupt before resuming execution.
> #### Do not use interrupt inside listeners {: .warning}
>
Expand Down

0 comments on commit 9b75abd

Please sign in to comment.