# AsParallelWriter()

> Returns a parallel writer for this hash map.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public NativeParallelHashMap<TKey, TValue>.ParallelWriter AsParallelWriter()
```

### Returns

| Type                                                                                                         | Description                          |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------ |
| [ParallelWriter](/engine/6000.7/script-reference/unity/collections/nativeparallelhashmap2/parallelwriter.md) | A parallel writer for this hash map. |
