Show / Hide Table of Contents

# Interface IComputeFunc<TArg, TRes>

Defines function having a single argument.

###### Namespace: Apache.Ignite.Core.Compute

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public interface IComputeFunc<in TArg, out TRes>

##### Type Parameters

Name | Description
--- | ---
TArg |
TRes |

### Methods

#### Invoke(TArg)

Invoke function.

##### Declaration

    TRes Invoke(TArg arg)

##### Parameters

Type | Name | Description
--- | --- | ---
TArg | arg | Argument.

##### Returns

Type | Description
--- | ---
TRes | Result.