---
schema_version: "1"
id: 717f5ca0050589528b9b4bf479ae8bfef5792724f9ac18614b0448adb301869e
title: AsyncOptions Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_System_AsyncOptions.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_System_AsyncOptions.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c94cd8d20f6121a2a91079a7e39055065ebc8184f8e6030a940501b9a5019667
description: Contains maximum stack depths for queueable transactions and the minimum queueable delay in minutes. Passed as parameter to the System.enqueueJob() method to define a unique queueable job signature, the maximum stack depth for queueable transactions and the minimum queueable delay in minutes.A unique signature for a Queueable job.Maximum stack depth for queueable transactions.Minimum queueable delay for queueable transactions.
---
# AsyncOptions Class

Contains maximum stack depths for queueable transactions and the minimum queueable delay in minutes. Passed as parameter to the System.enqueueJob() method to define a unique queueable job signature, the maximum stack depth for queueable transactions and the minimum queueable delay in minutes.

## Namespace

[System](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_System.htm "The System namespace provides classes and methods for core Apex functionality.")

- **[AsyncOptions Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_System_AsyncOptions.htm#apex_System_AsyncOptions_properties)**

#### See Also

- [_Apex Developer Guide_: Queueable Apex](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexcode.meta/apexcode/apex_queueing_jobs.htm "Apex Developer Guide: Queueable Apex - HTML (New Window)")
- [_Apex Developer Guide_: Detecting Duplicate Queueable Jobs](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexcode.meta/apexcode/apex_dedupe_queueable.htm "Apex Developer Guide: Detecting Duplicate Queueable Jobs - HTML (New Window)")

## AsyncOptions Properties

The following are properties for AsyncOptions.

- **[DuplicateSignature](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_System_AsyncOptions.htm#apex_System_AsyncOptions_DuplicateSignature)**  
    A unique signature for a Queueable job.
- **[MaximumQueueableStackDepth](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_System_AsyncOptions.htm#apex_System_AsyncOptions_MaximumQueueableStackDepth)**  
    Maximum stack depth for queueable transactions.
- **[MinimumQueueableDelayInMinutes](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_System_AsyncOptions.htm#apex_System_AsyncOptions_MinimumQueueableDelayInMinutes)**  
    Minimum queueable delay for queueable transactions.

### DuplicateSignature

A unique signature for a Queueable job.

#### Signature

public System.QueueableDuplicateSignature DuplicateSignature {get; set;}

#### Property Value

Type: [QueueableDuplicateSignature Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_System_QueueableDuplicateSignature.htm#apex_class_System_QueueableDuplicateSignature "Used in the AsyncOptions class to store the queueable job signature in the DuplicateSignature property.")

### MaximumQueueableStackDepth

Maximum stack depth for queueable transactions.

#### Signature

public Integer MaximumQueueableStackDepth {get; set;}

#### Property Value

Type: [Integer](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_integer.htm#apex_methods_system_integer "Contains methods for the Integer primitive data type.")

### MinimumQueueableDelayInMinutes

Minimum queueable delay for queueable transactions.

#### Signature

public Integer MinimumQueueableDelayInMinutes {get; set;}

#### Property Value

Type: [Integer](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_integer.htm#apex_methods_system_integer "Contains methods for the Integer primitive data type.")