Skip to content
Open
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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ Schmooze::JavaScript::SyntaxError: [stdin]:1:1: error: unexpected <=
^^
```

## Process lifecycle

Nodejs process is created before invoking declared method. And process is killed with `ObjectSpace.define_finalizer` - when object is about to be destroyed by garbage collection.

## Caveats

* Because we serialize the return values from JavaScript to JSON, you can't return circular data structures (like the Babel AST).
Expand Down