> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionTestJoinForAnswer

# TestJoinForAnswer

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

## Function Syntax

```c theme={null}
long TestJoinForAnswer(callContext cco);
```

## Description

Completes the current set of **joined events** with the transmitted event. This function does not wait.

## Parameters

* **value**: Value handle of a communication object or distributed object.

## Return Values

* **-3**: Join error
* **-1**: General error, for example, functionality is not available
* **> 0**: Number of the joined event

## Example

```c theme={null}
long ret;
callContext MirrorAdjustment.Adjust cco;
cco = MirrorAdjustment[0,0].Adjust.CallAsync(50, 0);
ret = testJoinForAnswer(cco);

index = TestWaitForAllJoinedEvents(2000);
```

[TestJoinImplValue](CAPLfunctionTestJoinImplValue.md) • [TestJoinForNextCall](CAPLfunctionTestJoinForNextCall.md)
