> ## Documentation Index
> Fetch the complete documentation index at: https://klef.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# WriteOutcomes

> Reads what a write came to.

```csharp
public static class WriteOutcomes
```

## Methods

### Applied()

```csharp
public static Task Applied(this Task<GrantOutcome> outcome)
```

Fails with the first value a grant change left as it was.

#### Parameters

**outcome** `Task\<GrantOutcome\>` *required*

**Type:** `Task<GrantOutcome>`

#### Returns

`Task`

### Written()

```csharp
public static Principal Written(this WriteOutcome outcome)
```

The principal a finished write left.

#### Parameters

**outcome** `WriteOutcome` *required*

#### Returns

`Principal`

```csharp
public static Task<Principal> Written(this Task<WriteOutcome> outcome)
```

The principal a finished write left.

#### Parameters

**outcome** `Task\<WriteOutcome\>` *required*

**Type:** `Task<WriteOutcome>`

#### Returns

`Task<Principal>`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.