def callback(func: CALLABLE_T) -> CALLABLE_T:
    'Annotation to mark method as safe to call from within the event loop.'
    setattr(func, '_edge_callback', True)
    return func
Annotation to mark method as safe to call from within the event loop.
def callback(func: CALLABLE_T) -> CALLABLE_T:
    
    setattr(func, '_edge_callback', True)
    return func