Fable.Python icon indicating copy to clipboard operation
Fable.Python copied to clipboard

support for asynchronous context managers

Open joprice opened this issue 1 year ago • 0 comments

Is it possible to bind to async context managers? They have a magic method __aexit__ that seems like it would map to the IAsyncDisposable interface, but I can't see to get the latter to work with tasks. Maybe a helper method could be introduced if the built in use facility can't support this?

joprice avatar Sep 30 '24 17:09 joprice