Skip to content

Commit cb7dceb

Browse files
authored
Improve docs for seq_trace (#503)
1 parent 8d23de1 commit cb7dceb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/kino/process.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,10 @@ defmodule Kino.Process do
247247
248248
## Options
249249
250-
* `:message_label` - A function to help label message events. If
250+
* `:message_label` - A function to label message events. If
251251
the given function returns `:continue`, then the default label
252-
is used. However, if the function returns a `String.t()`, then
253-
that will be used for the label.
252+
is used. However, if the function returns `{:ok, String.t()}`,
253+
then the given string will be used for the label.
254254
255255
* `:caption` - an optional caption for the diagram. Either a custom
256256
caption as string, or `nil` to disable the default caption.

0 commit comments

Comments
 (0)