src/server/server.py
def emit_first_pass_registered(node_idx, **params):
    '''Emits when first pass (lap 0) is registered during a race'''
    emit_payload = {
        'node_index': node_idx,
    }
    Events.trigger(Evt.RACE_FIRST_PASS, {
        'node_index': node_idx,
        })

    if ('nobroadcast' in params):
        emit('first_pass_registered', emit_payload)
    else:
        SOCKET_IO.emit('first_pass_registered', emit_payload)
Emits when first pass (lap 0) is registered during a race
Emits when first pass (lap 0) is registered during a race
Emits when first pass ( lap 0 ) is registered during a race
def emit_first_pass_registered(node_idx, **params):
    emit_payload = {
        'node_index': node_idx,
    }
    Events.trigger(Evt.RACE_FIRST_PASS, {
        'node_index': node_idx,
        })
    if ('nobroadcast' in params):
        emit('first_pass_registered', emit_payload)
    else:
        SOCKET_IO.emit('first_pass_registered', emit_payload)
def emit_first_pass_registered ( node_idx , ** params ) : emit_payload = { 'node_index' : node_idx , } Events . trigger ( Evt . RACE_FIRST_PASS , { 'node_index' : node_idx , } ) if ( 'nobroadcast' in params ) : emit ( 'first_pass_registered' , emit_payload ) else : SOCKET_IO . emit ( 'first_pass_registered' , emit_payload )
Emits when first pass (lap 0) is registered during a race
Emits when first pass ( lap 0 ) is registered during a race
'''Emits when first pass (lap 0) is registered during a race'''
node_idx