---
title: "CompositionServiceKey"
description: "A key to locate a service using the [CompositionServices] interface optionally implemented by
implementations of [Composition]."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
public interface CompositionServiceKey<T>
```


A key to locate a service using the `CompositionServices` interface optionally implemented by
implementations of `Composition`.



