LiveReactNative.MobileSupervisor (live_react_native v0.0.3)
View SourceSupervisor for mobile-native Phoenix Channel components.
This supervisor manages the PubSub process used for mobile channel communication (server-driven updates and broadcasts). It should be added to the consuming Phoenix application's supervision tree.
Usage
In your Phoenix application's supervision tree:
children = [
# ... other children
LiveReactNative.MobileSupervisor,
# ... rest of children
]Components
- PubSub: Handles communication between MobileChannel processes
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for Supervisor.init/1.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Callback implementation for Supervisor.init/1.