View Source LiveCache.LiveView (live_cache v0.3.0)

Integration hook for LiveViews.

Summary

Functions

LiveView on_mount callback to integrate with LiveCache.

Functions

Link to this function

on_mount(atom, params, session, socket)

View Source
@spec on_mount(:default, map(), map(), LiveView.Socket.t()) ::
  {:cont, LiveView.Socket.t()}

LiveView on_mount callback to integrate with LiveCache.

This function should not called directly. It is a callback invoked via Phoenix.LiveView.on_mount/1