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.
async
Chaining
Transform resolved values with Then, catch errors anywhere in the chain with Catch, and run cleanup logic unconditionally with Finally.
promise:Then · promise:Catch · promise:Finally
→
factory
Creation
Promises are returned directly by the async network methods — you never construct them manually. Understand what resolves and rejects so you can handle both.
how network async methods return promises
→
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