diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-09-06 21:44:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-06 21:44:29 +0200 |
| commit | f57a2c1e85387afe48b7bdb57176dafb156bb86e (patch) | |
| tree | c198f7c965a883acacc9c1410c620d6290cd43ef /core/README.md | |
| parent | 16a9c92aba9ba8376393d6df4fa9677ac6113578 (diff) | |
refactor(core): rename CoreIsolate to JsRuntime (#7373)
deno_core/
- rename core_isolate.rs to runtime.rs
- rename CoreIsolate to JsRuntime
- rename JSError to JsError
- rename JSStackFrame to JsStackFrame
cli/
- update references from deno_core::CoreIsolate to deno_core::JsRuntime
- rename deno_core::JSError to deno_core::JsError
- rename fmt_errors::JSError to fmt_errors::JsError
Diffstat (limited to 'core/README.md')
| -rw-r--r-- | core/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/README.md b/core/README.md index 94fe29de9..f6b429bb8 100644 --- a/core/README.md +++ b/core/README.md @@ -8,9 +8,9 @@ The main dependency of this crate is bindings. This Rust crate contains the essential V8 bindings for Deno's command-line -interface (Deno CLI). The main abstraction here is the Isolate which provides a -way to execute JavaScript. The Isolate is modeled as a -`Future<Item=(), Error=JSError>` which completes once all of its ops have +interface (Deno CLI). The main abstraction here is the JsRuntime which provides +a way to execute JavaScript. The JsRuntime is modeled as a +`Future<Item=(), Error=JsError>` which completes once all of its ops have completed. In order to bind Rust functions into JavaScript, use the `Deno.core.dispatch()` |
