Notes update
This commit is contained in:
parent
259394214e
commit
f2aa5f11dd
@ -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
|
||||
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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user