pub unsafe extern "system" fn JsTTDCreateReplayRuntime(
attributes: JsRuntimeAttributes,
infoUri: *const c_char,
infoUriCount: usize,
enableDebugging: bool,
openResourceStream: TTDOpenResourceStreamCallback,
readBytesFromStream: JsTTDReadBytesFromStreamCallback,
flushAndCloseStream: JsTTDFlushAndCloseStreamCallback,
threadService: JsThreadServiceCallback,
runtime: *mut JsRuntimeHandle
) -> JsErrorCode
TTD API -- may change in future versions:
Creates a new runtime in Debug Mode.
The attributes of the runtime to be created.
The uri where the recorded Time-Travel data should be loaded from.
A flag to enable addtional debugging operation support during replay.
The TTDOpenResourceStreamCallback function for generating a JsTTDStreamHandle to read/write serialized data.
The JsTTDReadBytesFromStreamCallback function for reading bytes from a JsTTDStreamHandle.
The JsTTDFlushAndCloseStreamCallback function for flushing and closing a JsTTDStreamHandle as needed.
The thread service for the runtime. Can be null.
The runtime created.
See JsCreateRuntime for additional information.
The code JsNoError if the operation succeeded, a failure code otherwise.