Send back a server response before the method is complete


I have a single server method that does multiple things. I would like to send a response back to the client after the first task is done and not wait til everything else is done (Database stuff). Is this possible or does the method have to finish before sending back a response. The client is a web client.


The easiest option would be to fire off the secondary things you want to do via async, and then let your server method finish, so its response gets sent back?

1 Like

I will give this a try, thanks Marc

1 Like