Last active
February 2, 2018 01:34
-
-
Save emerleite/5af0dec3e5d76214a38a8ef6453fb30c to your computer and use it in GitHub Desktop.
VideoWatchProgressController
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
#Phoenix Action | |
def track_time(conn, params) do | |
RequestParamsHandler.prepare(conn, params) | |
|> EventStore.enqueue #Send to GenStage pipeline | |
send_resp(conn, 201, "") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment