Async program execution
Hey, in Program.cs i'd like to execute some code after StartAsync, how can i achieve that please without blocking the stack
10 Replies
And the reason why you cannot do that?
i'd like to wait for dispose to close my app
i mean
if i don't call token.Dispose the app would not close
or i could await Task.Delay(-1) but that's odd i think
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
nananananananana Banman!
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i know
it's just some scafholdings lol
nothing definitive
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
but i'll need to use Depency injecton then ?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View