Are query statements blocking or noblocking?

Let’s say I have a query (pseudo code) like below:

create query q {
    result0 = my_udf(vector0);
    result1 = my_udf(vector1);    
    return result0 + result1;

Let’s say my_udf() takes 10 minutes to finish and udf is not modifying the graph or vector0/vector1 in any way. Will I get the result from the above query in 10 minutes (non-blocking) or 20 minutes (blocking)?

@xinyu notes “Blocking 20 min” @jimwu

ok. Thanks. Is there a way to get the result in 10 mins using gsql?