From d2579f45641b437974829c87d58c2a362ef66919 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 9 Apr 2019 13:11:25 -0400 Subject: core: Rename Behavior to Dispatch (#2082) And rename IsolateState to ThreadSafeState. Also make ThreadSafeState directly implement Dispatch. This is simpler. --- core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/README.md') diff --git a/core/README.md b/core/README.md index de7bfc3e3..516606961 100644 --- a/core/README.md +++ b/core/README.md @@ -4,7 +4,7 @@ This Rust crate contains the essential V8 bindings for Deno's command-line interface (Deno CLI). The main abstraction here is the Isolate which proivdes a way to execute JavaScript. The Isolate is modeled as a `Future` which completes once all of its ops have -completed. The user must define what an Op is by implementing the `Behavior` +completed. The user must define what an Op is by implementing the `Dispatch` trait, and by doing so define any "built-in" functionality that would be provided by the VM. Ops are triggered by `Deno.core.dispatch()`. -- cgit v1.2.3