Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

KinoSound

livebooks/kino/kino_sound.livemd

KinoSound

Mix.install([
  {:kino_sound, "~> 0.1.2"}
])

Sounds

:ok

Examples

IO.inspect("Start!!")

result =
  0..5
  |> Enum.reduce(:ok, fn _, acc ->
    Process.sleep(3000)
    IO.inspect("Hello!!")
    KinoSound.print()
    acc
  end)

case result do
  :ok ->
    KinoSound.success()

  _ ->
    KinoSound.error()
end