async def process_event(event_message, flask_app):
    'Render the org status.'
    if (not flask_app):
        raise QueueException('Flask App not available.')
    with flask_app.app_context():
        message_type = event_message.get('type', None)
        if (message_type == 'bc.registry.names.events'):
            (await process_name_events(event_message))
Render the org status.
async def process_event(event_message, flask_app):
    
    if (not flask_app):
        raise QueueException('Flask App not available.')
    with flask_app.app_context():
        message_type = event_message.get('type', None)
        if (message_type == 'bc.registry.names.events'):
            (await process_name_events(event_message))