Raxol.UI.Components.Input.MultiLineInput.MessageRouter (Raxol v2.0.1)

View Source

Message routing for MultiLineInput component. Handles routing different message types to appropriate handler functions.

Summary

Functions

Routes messages to appropriate handler functions. Returns {:ok, result} if message was handled, :error if not.

Functions

route(msg, state)

@spec route(any(), Raxol.UI.Components.Input.MultiLineInput.t()) ::
  {:ok, any()} | :error

Routes messages to appropriate handler functions. Returns {:ok, result} if message was handled, :error if not.