Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions base_folder/src/core/types.ts

This file was deleted.

30 changes: 0 additions & 30 deletions base_folder/src/core/utils.ts

This file was deleted.

2 changes: 1 addition & 1 deletion docs/function_invocation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ A function can be invoked synchronously or asynchronously.
You need to implement the run method in your function. The run method is called when the function is invoked. The run method signature is defined below:

```typescript
async function run(events: []FunctionInput): any;
async function run(events: any[]): any;
```

The value returned from the `run` method is passed back in synchronous execution modes, such as commands, snap kit actions, and event source synchronous execution. In asynchronous execution modes, such as automation execution, the return value is ignored.