# IVoxelFarmReportLambda

<span class="rvts6">The IVoxelFarmReportLambda interface provides a way to supply custom execution code for a report process in the platform.</span>

<span class="rvts6">The interface is declared as follows:</span>

```c#
namespace VoxelFarm.SpatialLambda
{
    public interface IVoxelFarmReportLambda
    {
        SpatialLambdaResult RunReport(IVoxelFarmReportLambdaHost host);
        SpatialLambdaResult Done(IVoxelFarmReportDoneLambdaHost host);
    }
}
```

<span class="rvts6">  
</span>

<span class="rvts6">Methods:</span>

<div class="rvps2" id="bkmrk-runreport%28ivoxelfarm"><table border="1" cellpadding="7" cellspacing="-1" style="height: 173px; width: 87.619%;"><tbody><tr valign="top"><td style="width: 39.4022%;" valign="top" width="290"><span class="rvts6">RunReport(IVoxelFarmReportLambdaHost host)</span>

</td><td style="width: 43.4783%;" valign="top" width="320"><span class="rvts6">Runs the report's logic. See the topic for more information. This method takes one parameter of type [IVoxelFarmReportLambdaHost](https://help.mystart.com/books/developer-manual/page/ivoxelfarmreportlambdahost "IVoxelFarmReportLambdaHost")</span>

</td></tr><tr valign="top"><td style="width: 39.4022%;" valign="top" width="290"><span class="rvts6">Done(IVoxelFarmReportDoneLambdaHost host)</span>

</td><td style="width: 43.4783%;" valign="top" width="320"><span class="rvts6">Runs the final stage of the report, allowing to consolidate any data produced during the massively parallel stages. See the for more information. This method takes one parameter of type [IVoxelFarmReportDoneLambdaHost](https://help.mystart.com/books/developer-manual/page/ivoxelfarmreportdonelambdahost "IVoxelFarmReportDoneLambdaHost")</span>

</td></tr></tbody></table>

</div>