# Interface ActionFunction<Context>

Route action function signature

interface ActionFunction<Context> ((args, handlerCtx?) => DataFunctionReturnValue)

#### Type Parameters

- Context = any

- ActionFunction(args, handlerCtx?): DataFunctionReturnValue

- #### Parameters

  - args: ActionFunctionArgs<Context>
  - `Optional` handlerCtx: unknown

  #### Returns DataFunctionReturnValue

  - Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:154