Sleep command (#2381)

* Add deserialization of Primitive::Duration; Fixes #2373

* Implement Sleep command

* Add comment saying you should name your rest field "rest"

* Fix typo

* Add documentation for sleep command
This commit is contained in:
Leonhard Kipp
2020-08-21 19:51:29 +02:00
committed by GitHub
parent cb4527fc0d
commit 0dd1403a69
7 changed files with 122 additions and 1 deletions

View File

@ -275,6 +275,7 @@ pub fn create_default_context(
whole_stream_command(Alias),
whole_stream_command(WithEnv),
whole_stream_command(Do),
whole_stream_command(Sleep),
// Statistics
whole_stream_command(Size),
whole_stream_command(Count),