Browse Source

Add Task<RuntimeResult> in command section

pull/988/head
Hsu Still 7 years ago
parent
commit
e37652bd55
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      docs/guides/commands/commands.md

+ 2
- 1
docs/guides/commands/commands.md View File

@@ -69,7 +69,8 @@ By now, your module should look like this:


The next step to creating Commands is actually creating the Commands. 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<RuntimeResult>` depending on your use.
Typically, you will want to mark this method as `async`, although it Typically, you will want to mark this method as `async`, although it
is not required. is not required.




Loading…
Cancel
Save