File size: 199 Bytes
19c8b95
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
logger = setupData["logger"]

import time

def custom_event_fn(data=None):
    global logger, time
    print(f'custom_event_fn: {data}')
    logger.log(f'custom_event_fn: {data}')
    time.sleep(2)