little-river-49422
02/06/2019, 8:47 AMwhite-balloon-205
02/06/2019, 4:47 PMOutput
, so these calls are projected as returning an async function.
Not sure if we have any good examples of using these in common patterns in Python. @incalculable-sundown-82514 might know.little-river-49422
02/06/2019, 4:51 PMincalculable-sundown-82514
02/06/2019, 6:26 PMasync
function and then invoke the function as an invoke for a resource, sort of like this:
https://github.com/pulumi/pulumi/blob/6f386567f6a8494853bee8fccdb455b3be1a993b/sdk/python/lib/test/langhost/invoke/__main__.py#L34-L38
You can pass futures (the return value of async
functions) directly to resource constructors.little-river-49422
02/06/2019, 6:46 PM