Skip to content

v0.2.0

Compare
Choose a tag to compare
@Kirill888 Kirill888 released this 19 Sep 09:58
· 35 commits to develop since this release
  • Support series 6 of ipykernel (as well a 5)
  • No breaking changes since 0.1.x series
  • Adding async operation mode
  • Adding doc building and publishing to read the docs

to use new async interface use async with or async for

async with ui_events() as ui_poll:
    do_stuff()
    await ui_poll()

async for x in with_ui_events(its):
    await do_stuff_with(x)

Since ipykernel switched to async interface starting from 6.x series, we need to launch a separate thread to process events in a separate event loop (this happens for 5.x series too now). If you need to avoid that, use async mode of operation.