### Class

# Foundry Operation

#### Description [src]

    final class Foundry.Operation : GObject.Object
    {
      /* No available fields */
    }

Represents a long-running operation in the development environment with progress tracking.

FoundryOperation provides a base class for operations that require progress reporting and cancellation support. It integrates with the authentication system and provides a unified interface for managing asynchronous operations with user feedback and error handling.

#### Ancestors

- GObject

#### Constructors

###### foundry_operation_new

No description available.

#### Functions

###### foundry_operation_file_progress

No description available.

#### Instance methods

###### foundry_operation_await

Gets a `DexFuture` that resolves when the operation has cancelled or completed.

###### foundry_operation_cancel

No description available.

###### foundry_operation_complete

No description available.

###### foundry_operation_dup_auth_provider

No description available.

###### foundry_operation_dup_subtitle

No description available.

###### foundry_operation_dup_title

No description available.

###### foundry_operation_get_progress

No description available.

###### foundry_operation_is_cancelled

Checks if the operation has been cancelled.

since: 1.1

###### foundry_operation_set_auth_provider

No description available.

###### foundry_operation_set_progress

No description available.

###### foundry_operation_set_subtitle

No description available.

###### foundry_operation_set_title

No description available.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Foundry.Operation:auth-provider

No description available.

###### Foundry.Operation:cancelled

No description available.

###### Foundry.Operation:progress

No description available.

###### Foundry.Operation:subtitle

No description available.

###### Foundry.Operation:title

No description available.

#### Signals

###### Foundry.Operation::completed

Emitted when the operation has completed successfully.

since: 1.1

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct FoundryOperationClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.