About Pi Downloads Documentation Plugins Developer Forum Issues

pi.xhr.environment.setAsync

Summary

It provides determining the request is asynchronous or not.

Syntax

pi.xhr.environment.setAsync(value)

Usage Example

>>> foo instanceof pi.xhr
true
>>> foo.environment.setAsync(true);
>>> foo.environment.getAsync();
true