# RunLineAsync(LocalizedLine,LineCancellationToken)

Method in [LineAdvancer](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.lineadvancer)

## Summary

Called by a dialogue presenter to signal that a line is running.

```csharp
public override YarnTask RunLineAsync(LocalizedLine line, LineCancellationToken token)
```

## Parameters

| Name                                                                                                                          | Description                                                                                                                                                                                                                                   |
| ----------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Yarn.Unity.LocalizedLine](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.localizedline) line                  | The line to present.                                                                                                                                                                                                                          |
| [Yarn.Unity.LineCancellationToken](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.linecancellationtoken) token | A [LineCancellationToken](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.linecancellationtoken) that represents whether the dialogue presenter should hurry it its presentation of the line, or stop showing the current line. |

## Returns

A completed task.
