Interface for accessing the Radar API from plugins.
This provides typed, in-process programmatic access to the Radar API,
similar to WithHistoryApi for the History API.
Example
// Check if Radar API is available if (app.getRadarApi) { constradarApi=await app.getRadarApi(); constradars=await radarApi.getRadars(); app.debug(`Found ${radars.length} radars`); }
Returns a promise for the active Radar API implementation, or rejects if unavailable.
The property is optional to support older servers that do not have radar API support.
Interface for accessing the Radar API from plugins.
This provides typed, in-process programmatic access to the Radar API, similar to WithHistoryApi for the History API.
Example