예제 #1
0
        protected override async Task OnAfterRenderAsync(bool aFirstRender)
        {
            //await ReduxDevToolsInterop.InitAsync();
            await JsonRequestHandler.InitAsync();

            await ClientLoader.InitAsync();
        }
예제 #2
0
        protected override async Task OnAfterRenderAsync(bool aFirstRender)
        {
#if ReduxDevToolsEnabled
            await ReduxDevToolsInterop.InitAsync();
#endif
            await JsonRequestHandler.InitAsync();

            await ClientLoader.InitAsync();

            var tasks = new Task[]
            {
                Mediator.Send(new FetchWalletAction()),
                Mediator.Send(new FetchSchemasAction()),
                Mediator.Send(new FetchCredentialDefinitionsAction()),
                Mediator.Send(new FetchConnectionsAction()),
                Mediator.Send(new FetchCredentialsAction()),
                Mediator.Send(new FetchProofsAction())
            };

            await Task.WhenAll(tasks);
        }