Client API

Promise

The async request methods return Promises you can chain with Then, Catch, and Finally for clean multi-step async flows without nested callbacks.

Returned by -- returned by network:GetAsync(), network:PostAsync(), etc.

See also

Network | the request module that returns Promises  ·  Async API | GetAsync, PostAsync and variants  ·  Promise Guide | extended patterns and examples  ·  Listener | Once as a single-fire callback