Attribute that marks a function as asynchronous. It means that the
response is not sent to the client when the method returns but when
the send function is called in the response.
This attribute should be used when the route's method permorms an
asynchrous action such as a client http call or using the database.
Attribute that marks a function as asynchronous. It means that the response is not sent to the client when the method returns but when the send function is called in the response. This attribute should be used when the route's method permorms an asynchrous action such as a client http call or using the database.