Fix types of `using` function (#113)
Before this change using was returning `Promise<Promise<T>>` which can interfere with the types one has. This fixes that my being explicit that the `routine` must be an async function. This also modifies the tests to add a type check that we're getting back the type we expect.
E
Eric Koslow committed
83d9dc278155c0ee175ec43dfdfbc1c45450a43b
Parent: 643eae1
Committed by GitHub <noreply@github.com>
on 11/2/2021, 11:48:27 PM