aboutsummaryrefslogtreecommitdiff
path: root/src/profiler/index.d.ts
diff options
context:
space:
mode:
authorcjd242018-04-26 07:02:02 +0100
committercjd242018-04-26 07:02:02 +0100
commit025b4833009255baba8a24be4dde78c0f0832fb2 (patch)
tree22fa76dfbd6cf33669a280373dacc74c35c0e7d3 /src/profiler/index.d.ts
parentfixing czi live tiles and adding support for scn live tiles (diff)
parentMerge branch 'trh/gets' of gitlab.cs.st-andrews.ac.uk:cs3099group-be-4/projec... (diff)
downloadmedicine-025b4833009255baba8a24be4dde78c0f0832fb2.tar.gz
medicine-025b4833009255baba8a24be4dde78c0f0832fb2.zip

Merge branch ‘trh/gets’ of https://gitlab.cs.st-andrews.ac.uk/cs3099group-be-4/project-code into trh/gets

Diffstat (limited to 'src/profiler/index.d.ts')
-rw-r--r--src/profiler/index.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/profiler/index.d.ts b/src/profiler/index.d.ts
index 0aae355..d4e45ad 100644
--- a/src/profiler/index.d.ts
+++ b/src/profiler/index.d.ts
@@ -44,3 +44,10 @@ export const profiler: {
update: (value: number) => void;
};
};
+
+export type RemoteResolver = (ret: { success: boolean }) => void;
+
+export const remote: (
+ name: string,
+ logic: (res: RemoteResolver) => void
+) => void;