Data interface for the type of an actor run result.

interface IActorFunctionFactoryOutput {
    apply: ((evalContext: IEvalContext) => Promise<TermExpression>);
    checkArity: ((args: Expression[]) => boolean);
}

Hierarchy (view full)

Properties

Properties

apply: ((evalContext: IEvalContext) => Promise<TermExpression>)
checkArity: ((args: Expression[]) => boolean)

The arity of the function will be checked when parsing and preparing a function. This allows us to check if the query is correct even before we process any bindings.