From e37652bd55fa972b778b92b68475fd7a3b2dd142 Mon Sep 17 00:00:00 2001 From: Hsu Still <341464@gmail.com> Date: Fri, 23 Mar 2018 13:44:38 +0800 Subject: [PATCH] Add Task in command section --- docs/guides/commands/commands.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/guides/commands/commands.md b/docs/guides/commands/commands.md index d87f7eb24..b48a19b69 100644 --- a/docs/guides/commands/commands.md +++ b/docs/guides/commands/commands.md @@ -69,7 +69,8 @@ By now, your module should look like this: The next step to creating Commands is actually creating the Commands. -To create a Command, add a method to your module of type `Task`. +To create a Command, add a method to your module of type `Task` or +`Task` depending on your use. Typically, you will want to mark this method as `async`, although it is not required.