event.type

Type String
Event onDemandResourcesEvent
Revision Release 2024.3703
Keywords on-demand resources, onDemandResources, onDemandResourcesEvent, type
See also onDemandResourcesEvent
onDemandResources.*

Overview

If the event is dispatched to a listener function within a onDemandResources.request() call, this value will be "complete", indicating that the resources request attempt is complete. At this time, you may check the isError property to confirm that the request succeeded.

If this is received by the listener specified in onDemandResources.setEventListener(), its value will be "lowDiskSpace", indicating that the system is running low on storage space.