Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IConcurrencyModule

interface IConcurrencyModule
Extends com.amazon.apmf.IStandard Top-level module representing the entry point for the concurrency package.

Methods

makeAsyncLoop()

IAsyncLoop* makeAsyncLoop()
Makes an instance of IAsyncLoop. The async loop must be started explicitly on a thread for it to dispatch tasks.

Returns

IAsyncLoop* A new async loop instance.

getDefaultAsyncLoop()

IAsyncLoop* getDefaultAsyncLoop()
Returns the default instance of IAsyncLoop. Creates a new instance if necessary. The default async loop is single threaded and typically represents the main thread of an application.

Returns

IAsyncLoop* The default async loop instance.
Last modified on October 29, 2026