#Blocking operations

1 messages · Page 1 of 1 (latest)

arctic swallow
#

in this piece of code

#
if (char == '{') {
    const body = try readBody(str, idx + 1);
    try Block.body.append(body.props.items);
    my_insane_index = body.index;
    //continue;
}

try selector.selector.append(char); // keeps going even if it entered the if above
#

readyBody contains a for loop and a return statement

#

will the for loop wait for readBody to finish executing before going to the next execution?

#

so like