Home > @idealeap/pipeline > DynamicExecutor > run
DynamicExecutor.run() method
Signature:
typescript
static run(params: {
code: string;
config?: ExecutorConfig;
}): Promise<any>;
static run(params: {
code: string;
config?: ExecutorConfig;
}): Promise<any>;
Parameters
Parameter | Type | Description |
---|---|---|
params | { code: string; config?: ExecutorConfig; } |
Returns:
Promise<any>