Skip to content

Commit

Permalink
Update to "shutdown" in the lifespan spec
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgodwin committed Oct 15, 2018
1 parent dd288e0 commit 164207b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions specs/lifespan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,26 +78,26 @@ Keys:
* ``type``: ``lifespan.startup.complete``


Cleanup
'''''''
Shutdown
''''''''

Sent when the server has stopped accepting connections and closed all
active connections.

Keys:

* ``type``: ``lifespan.cleanup``
* ``type``: ``lifespan.shutdown``


Cleanup Complete
''''''''''''''''
Shutdown Complete
'''''''''''''''''

Sent by the application when it has completed its cleanup. A server
must wait for this message before terminating.

Keys:

* ``type``: ``lifespan.cleanup.complete``
* ``type``: ``lifespan.shutdown.complete``


Version History
Expand Down

0 comments on commit 164207b

Please sign in to comment.