-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
area/coreThis issue/PR affects the core functionalityThis issue/PR affects the core functionalitykind/enhancementA modification or enhancement to existing functionalityA modification or enhancement to existing functionalitystatus/readyThis issue that is ready to be worked on and prioritizedThis issue that is ready to be worked on and prioritized
Description
When a resource is created, the VinylDNS API returns a 202. It's the client's responsibility to poll the resource's URL until the client receives a a response with an HTTP status code of 200 (rather than a 404, which may be returned during the window of time in which the resource is being created).
It may be useful to implement helper methods such that users aren't required to write their own polling. For example, a getZoneAfterCreation(zoneId, optionalTimeout) method could poll getZone(zoneId) and resolve the promise it returns once getZone(zoneId) no longer returns a 404.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/coreThis issue/PR affects the core functionalityThis issue/PR affects the core functionalitykind/enhancementA modification or enhancement to existing functionalityA modification or enhancement to existing functionalitystatus/readyThis issue that is ready to be worked on and prioritizedThis issue that is ready to be worked on and prioritized