SwiftclassJetEngine

class JetEngine.ReloadableJSSource

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 8

  1. deinitdeinit
  2. fieldlet lock: Synchronization.Mutex<JetEngine.JSSourceProvider>
  3. fieldlet reloadInfo: JetEngine.JetPackReloadInfo
  4. funccacheBytecode() throws -> ()
  5. funcevaluate(against: JSValue?, in: JSContext) throws -> JSValue
  6. funcreload() async throws -> JetEngine.ReloadableJSSource
  7. varfinal var isUsingBytecodeCache: Bool { get }
  8. varfinal var supportsBytecodeCaching: Bool { get }
class ReloadableJSSource {
    let lock: Synchronization.Mutex<any JetEngine.JSSourceProvider>
    let reloadInfo: JetEngine.JetPackReloadInfo

    final var isUsingBytecodeCache: Swift.Bool {
        get
    }
    final var supportsBytecodeCaching: Swift.Bool {
        get
    }

    final func cacheBytecode() throws
    final func reload() async throws -> JetEngine.ReloadableJSSource
    final func evaluate(against: __C.JSValue?, in: __C.JSContext) throws -> __C.JSValue

    deinit
}