# TrySetResult(in T)

> Raise the awaitable completion.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## TrySetResult(T)

```csharp
public bool TrySetResult(in T value)
```

### Parameters

**** (T): Value to pass to the awaitable continuation.

### Returns

| Type                                                          | Description                                          |
| ------------------------------------------------------------- | ---------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Indicates if the completion was successfully raised. |
