Created
April 14, 2023 00:45
-
-
Save rayrayzayzay/8aa2979b53a4b6f0d6b284a7e5613f9e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def handle_call("element:" <> event, payload, socket) do | |
FeltWeb.Channels.ElementHandler.handle_event(event, payload, socket) | |
end | |
def handle_call("layer:" <> event, payload, socket) do | |
FeltWeb.Channels.LayerHandler.handle_event(event, payload, socket) | |
end | |
def handle_event("sync:" <> event, payload, socket) do | |
FeltWeb.Channels.SyncHandler.handle_event(event, payload, socket) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment