We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adde412 commit 00130a8Copy full SHA for 00130a8
Sources/HaystackClient/HaystackClient.swift
@@ -308,6 +308,10 @@ public class HaystackClient {
308
return try await post(path: "invokeAction", grid: builder.toGrid())
309
}
310
311
+ public func eval(expression: String) async throws -> Grid {
312
+ return try await post(path: "eval", args: ["expr": expression])
313
+ }
314
+
315
@discardableResult
316
private func post(path: String, args: [String: any Val] = [:]) async throws -> Grid {
317
let grid: Grid
0 commit comments