0

Using dart rpc can you label a API method as "async"? I see in the documentation you can return a future, but when I try to label the method async it seems to create a lot of problems.

2 Answers2

1

Async simply allows you to use the await keyword.

See docs here.

Daedalus
  • 1,667
  • 10
  • 12
0

Async is supported. Thanks to the support on this thread. https://github.com/dart-lang/rpc/issues/29