-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Description
Question Area
- App Directory
- API
- Context Data
- Intents
- Use Cases
- Other
Question
On a discussion with @kriswest and @robmoffat it became clear to me that the implementation of getAgent will return a cached promise for any subsequent calls that are made to it. This should probably be documented along with the potentially unexpected behavior where any parameters passed to the function are ignored after the first call.
@kriswest also said that the case where getAgent fails and is then called again that the promise should be cleared and another attempt made.
Reactions are currently unavailable