React Native Job Queue

React Native Job Queue

  • API
  • Docs
  • Help
  • GitHub

›Interfaces

Introduction

  • Globals

Classes

  • JobStoreMock
  • Queue
  • Uuid
  • Worker

Interfaces

  • CancellablePromise
  • Job
  • JobStore
  • QueueOptions
  • RawJob
  • WorkerOptions
Edit

CancellablePromise

CancellablePromise /

Type parameters

▪ T

Hierarchy

  • Promise<T>

    • CancellablePromise

Index

Properties

  • Promise
  • __@toStringTag
  • rn_job_queue_cancel

Methods

  • catch
  • then

Properties

Promise

• Promise: PromiseConstructor

Defined in /Users/simon/Developer/Projects/ReactNative/react-native-job-queue/node_modules/typescript/lib/lib.es2015.promise.d.ts:152


__@toStringTag

• __@toStringTag: string

Inherited from void

Defined in /Users/simon/Developer/Projects/ReactNative/react-native-job-queue/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:169


Optional rn_job_queue_cancel

• rn_job_queue_cancel? : undefined | function

Defined in Worker.ts:14

Methods

catch

▸ catch<TResult>(onrejected?: function | undefined | null): Promise<T | TResult>

Inherited from void

Defined in /Users/simon/Developer/Projects/ReactNative/react-native-job-queue/node_modules/typescript/lib/lib.es5.d.ts:1413

Attaches a callback for only the rejection of the Promise.

Type parameters:

▪ TResult

Parameters:

NameTypeDescription
onrejected?function | undefined | nullThe callback to execute when the Promise is rejected.

Returns: Promise<T | TResult>

A Promise for the completion of the callback.


then

▸ then<TResult1, TResult2>(onfulfilled?: function | undefined | null, onrejected?: function | undefined | null): Promise<TResult1 | TResult2>

Inherited from void

Defined in /Users/simon/Developer/Projects/ReactNative/react-native-job-queue/node_modules/typescript/lib/lib.es5.d.ts:1406

Attaches callbacks for the resolution and/or rejection of the Promise.

Type parameters:

▪ TResult1

▪ TResult2

Parameters:

NameTypeDescription
onfulfilled?function | undefined | nullThe callback to execute when the Promise is resolved.
onrejected?function | undefined | nullThe callback to execute when the Promise is rejected.

Returns: Promise<TResult1 | TResult2>

A Promise for the completion of which ever callback is executed.

← WorkerJob →
  • Type parameters
  • Hierarchy
  • Index
    • Properties
    • Methods
  • Properties
    • Promise
    • __@toStringTag
    • Optional rn_job_queue_cancel
  • Methods
    • catch
    • then
React Native Job Queue
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Facebook Open Source
Copyright © 2021 Your Name or Your Company Name