View Source Rephex.Api.LiveViewApi behaviour (rephex v0.1.1)
The behaviour for the LiveView sub-effect.
Summary
Functions
Callback implementation for Rephex.Api.LiveViewApi.cancel_async/3
.
Callback implementation for Rephex.Api.LiveViewApi.start_async/3
.
Callbacks
@callback cancel_async( socket :: Phoenix.LiveView.Socket.t(), name :: term(), reason :: term() ) :: Phoenix.LiveView.Socket.t()
@callback start_async( socket :: Phoenix.LiveView.Socket.t(), name :: term(), func :: (-> term()) ) :: Phoenix.LiveView.Socket.t()
Functions
Callback implementation for Rephex.Api.LiveViewApi.cancel_async/3
.
Callback implementation for Rephex.Api.LiveViewApi.start_async/3
.