> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.instanttypewriter.md).

# InstantTypewriter

Class in [Yarn.Unity](/api/csharp/yarn.unity.md)

Inherits from `System.Object`

## Summary

An implementation of [IAsyncTypewriter](/api/csharp/yarn.unity/yarn.unity.iasynctypewriter.md) that delivers all content instantly, and invokes any [IActionMarkupHandler](/api/csharp/yarn.unity/yarn.unity.iactionmarkuphandler.md) s along the way as needed.

```csharp
public class InstantTypewriter : IAsyncTypewriter
```

## Methods

| Name                                                                                                                                                           | Description                                |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
| [ContentDidDismiss()](/api/csharp/yarn.unity/yarn.unity.instanttypewriter/yarn.unity.instanttypewriter.contentdiddismiss.md)                                   |                                            |
| [ContentWillDismiss()](/api/csharp/yarn.unity/yarn.unity.instanttypewriter/yarn.unity.instanttypewriter.contentwilldismiss.md)                                 |                                            |
| [PrepareForContent(MarkupParseResult)](/api/csharp/yarn.unity/yarn.unity.instanttypewriter/yarn.unity.instanttypewriter.prepareforcontent.md)                  |                                            |
| [RunTypewriter(Markup.MarkupParseResult,CancellationToken)](/api/csharp/yarn.unity/yarn.unity.instanttypewriter/yarn.unity.instanttypewriter.runtypewriter.md) | Displays the contents of a line over time. |

## Properties

| Name                                                                                                                             | Description                                                                                                                                                                                                                                                                                                                                                                            |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ActionMarkupHandlers](/api/csharp/yarn.unity/yarn.unity.instanttypewriter/yarn.unity.instanttypewriter.actionmarkuphandlers.md) | A collection of [IActionMarkupHandler](/api/csharp/yarn.unity/yarn.unity.iactionmarkuphandler.md) objects that should be invoked as needed during the typewriter's delivery in [RunTypewriter(Markup.MarkupParseResult,CancellationToken)](/api/csharp/yarn.unity/yarn.unity.instanttypewriter/yarn.unity.instanttypewriter.runtypewriter.md) , depending upon the contents of a line. |
| [TextElement](/api/csharp/yarn.unity/yarn.unity.instanttypewriter/yarn.unity.instanttypewriter.textelement.md)                   | The `TMPro.TMP_Text` to display the text in.                                                                                                                                                                                                                                                                                                                                           |
