struct Protocol::Runtime::AwaitPromise

Overview

Add handler to promise with given promise object id.

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 exception_details : ExceptionDetails | Nil #

Exception details if stack strace is available.


[View source]
def result : RemoteObject #

Promise result. Will contain rejected value if promise was rejected.


[View source]