JavaScript tips for using the SAFE API

This style of handling Promises should be used in the examples in the documentation. Using async/await will be the way to go. Especially because the target environment supports it natively (it did not until about a month or two ago), which is awesome.

1 Like