From f2aa5f11dd05c8f38604e46da800545ce5ce7529 Mon Sep 17 00:00:00 2001 From: OriolFilter Date: Fri, 8 Apr 2022 03:29:56 +0200 Subject: [PATCH] Notes update --- placeholder.md | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/placeholder.md b/placeholder.md index ceae2bc..7166491 100644 --- a/placeholder.md +++ b/placeholder.md @@ -56,4 +56,38 @@ Get-Command -Module hyper-v | Out-GridView ##### Niputis -https://livebook.manning.com/book/windows-powershell-in-action-third-edition/chapter-2/40 \ No newline at end of file +https://livebook.manning.com/book/windows-powershell-in-action-third-edition/chapter-2/40 + +# At the authentication side. +was considering something like + + +## Background login +for (object in auth_list){ + if (can_do_backround_login){ + try{ + object.login_ended=False + check_login() # Emphasis on sending it to the background + } + catch $error { + finally.login_ended=True + } + } +} + +## Front login +for (object in auth_list){ + try{ + object.login_ended=False + check_login() # Emphasis on sending it to the background + } + catch $error { + finally.login_ended=True + } +} + + + +While (there is something that still has login_ended=False){ + wait +} \ No newline at end of file