Package-level declarations

Types

Link copied to clipboard
class HeadlessJsTaskConfig @JvmOverloads constructor(val taskKey: String, val data: WritableMap, val timeout: Long = 0, val isAllowedInForeground: Boolean = false, val retryPolicy: HeadlessJsTaskRetryPolicy? = NoRetryPolicy.INSTANCE)

Class that holds the various parameters needed to start a JS task.

Link copied to clipboard

Helper class for dealing with JS tasks. Handles per-ReactContext active task tracking, starting / stopping tasks and notifying listeners.

Link copied to clipboard

Listener interface for task lifecycle events.

Link copied to clipboard
Link copied to clipboard
class LinearCountingRetryPolicy(retryAttempts: Int, delayBetweenAttemptsInMs: Int) : HeadlessJsTaskRetryPolicy