ipylab icon indicating copy to clipboard operation
ipylab copied to clipboard

Support for awaitables

Open jtpio opened this issue 6 years ago • 2 comments

Ideally we would be able to write code that looks like this:

res = await app.commands.execute('docmanager:new-untitled')
await app.commands.execute('docmanager:open', { 'path': res.path })

So it stays very similar to how we would do things on the TypeScript side.

jtpio avatar Nov 18 '19 14:11 jtpio

Related to https://github.com/jtpio/ipylab/issues/9

jtpio avatar Nov 18 '19 14:11 jtpio