promise.block() renamed to promise.wait()
promise.wait() now returns the arguments of the "success" event. If there was only a single argument, then it is returned. If there was more than one, they are returned as an array. If there was an error, it is thrown. See documentation.
parent
51addf19
Please register or sign in to comment