struct Protocol::Runtime::ExecutionContextDescription

Overview

Description of an isolated world.

Included Modules

Defined in:

protocol/runtime.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def aux_data : JSON::Any | Nil #

Embedder-specific auxiliary data.


[View source]

Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.


[View source]
def name : String #

Human readable name describing given context.


[View source]
def origin : String #

Execution context origin.


[View source]
def unique_id : String #

A system-unique execution context identifier. Unlike the id, this is unique across multiple processes, so can be reliably used to identify specific context while backend performs a cross-process navigation.


[View source]