I'd like to implement custom promise objects using custom WinRT\C++ code (just like 'StorageFile.RenameAsync()' and many other Async method do). From the documentation it looks these objects need to implement IAsyncAction\IAsyncInfo but I havent found any
C++ samples depicting the exact flow and usage of these interfaces.
Is there a sample or some reference documentation on how to expose custom WinRT objects (using IAsyncAction\IAsyncInfo) to JavaScript as 'promises'?