paulroth3d / jupyter-ijavascript-utils

Utility library for working with iJavaScript - a Jupyter Kernel
1 stars 0 forks source link

ijs.await - doesn't seem to wait for the response #8

Closed paulroth3d closed 2 years ago

paulroth3d commented 2 years ago

ijs.await is not only supposed to allow for await calls but it should also halt execution of the following cells until the await is complete.

ex:

utils.ijs.await(async($$, console) => {
   cars = await conn.queryCars();
});

so the following cell that uses cars can safely assume that cars should be established at this point.

But it seems like it isn't waiting for the response.

Look into it further...

paulroth3d commented 2 years ago

Fixed in build 1.9.1 Seems it wasn't actually waiting.

Closing when I hear confirmation it is resolved.

paulroth3d commented 2 years ago

Confirmed working - Thanks Rob!