summaryrefslogtreecommitdiff
path: root/runtime/ops/signal.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-01-04 18:26:00 +0100
committerGitHub <noreply@github.com>2022-01-04 18:26:00 +0100
commit9872fbf189b7f843b15442731f2e18ffafc3a284 (patch)
tree8f5aa647135f4d6a8fc8df62412f849f3015723e /runtime/ops/signal.rs
parent9ce28fd3ca92c1846d9507e7aa791b40dcf2d70c (diff)
refactor(core): InspectorSession implements Stream (#13270)
This commit rewrites "InspectorSession" to no longer implement "Future" trait but instead implement "Stream" trait. "Stream" trait is implemented by yielding a raw pointer to the "v8::inspector::V8InspectorSession" and received message. In effect received messages are no longer dispatched from within the future, but are explicitly dispatched by the caller. This change should allow us to dispatch a message to the session when another message is being dispatched, ie. "V8InspectorSesssion::dispatch_protocol_message" is already on the call stack.
Diffstat (limited to 'runtime/ops/signal.rs')
0 files changed, 0 insertions, 0 deletions