We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d23de1 commit cb7dcebCopy full SHA for cb7dceb
lib/kino/process.ex
@@ -247,10 +247,10 @@ defmodule Kino.Process do
247
248
## Options
249
250
- * `:message_label` - A function to help label message events. If
+ * `:message_label` - A function to label message events. If
251
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.
+ is used. However, if the function returns `{:ok, String.t()}`,
+ then the given string will be used for the label.
254
255
* `:caption` - an optional caption for the diagram. Either a custom
256
caption as string, or `nil` to disable the default caption.
0 commit comments