---
title: "actionRunCallback"
description: "Creates an [Action] that executes a given [ActionCallback] implementation"
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-android'>Android</div>


```kotlin
public fun <T : ActionCallback> actionRunCallback(
    callbackClass: Class<T>,
    parameters: ActionParameters = actionParametersOf(),
): Action
```


Creates an `Action` that executes a given `ActionCallback` implementation

#### Parameters

| | |
| --- | --- |
| callbackClass | the class that implements `ActionCallback` |
| parameters | the parameters associated with the action |




<div class='sourceset sourceset-android'>Android</div>


```kotlin
public inline fun <reified T : ActionCallback> actionRunCallback(
    parameters: ActionParameters = actionParametersOf()
): Action
```


Creates an `Action` that executes a given `ActionCallback` implementation

#### Parameters

| | |
| --- | --- |
| parameters | the parameters associated with the action |




