We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9ebd13 commit 1e16451Copy full SHA for 1e16451
src/examples/data-flow.ts
@@ -1,4 +1,8 @@
1
import { OCamlobject, initializeBindings } from 'o1js';
2
3
await initializeBindings();
4
+
5
+let rustValue = OCamlobject.runMeRust();
6
+console.log(rustValue);
7
8
OCamlobject.runMe();
src/snarky.d.ts
@@ -66,6 +66,7 @@ declare namespace Snarky {
66
67
declare const OCamlobject: {
68
runMe: () => void;
69
+ runMeRust: () => string;
70
};
71
72
/**
0 commit comments