File size: 487 Bytes
2f7e137
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
# This file includes the utility function handlers.
# Currently, the only file here is the ping function,
# which does absolutely nothing.

# Defines the handler for the ping action to do nothing.
# I still included this because it is still important. 
# On the frontend, it sends a ping action every 30 seconds 
# prevents the websocket connection from closing after 
# a minute due to inactivity.
def ping():
    # Do absolutely nothing,
    return # Then exit the function.