/Engine/Plugins/Online/OnlineServicesEOSGS/Source/Public/Online/OnlineServicesEOSGSTypes.h
Note that when a continuation takes a Promise parameter, the Future for that Promise is already bound to the next continuation in the Op chain. Therefore, as soon as the EOS_Auth_Login callback is called, the promise will be fulfilled, and the next continuation will run immediately. This ensures that even if the SDK calls the callback immediately (i.e. before EOS_Async returns), the continuation is already bound, and we can safely consume the CallbackInfo. Note that the CallbackInfo is only valid for the duration of the callback, so it is not safe to bind a continuationaftercalling the EOS method.Warning: This signature will crash if the async method returns immediately. The callback object is deleted inside the callback before EOS_Async returns the future back to the user.
namespace UE { namespace Online { template<typename TEOSResult, typename TEOSHandle, typename TEOSParameters, typename TEOSFn> decltype(auto) UE::Online::EOS_Async ( TEOSFn EOSFn, TEOSHandle EOSHandle, TEOSParameters Parameters, [TPromise](API\Runtime\Core\Async\TPromise)< const TEOSResult * > && Promise ) } }