diff options
| author | cjd24 | 2018-04-26 07:02:02 +0100 |
|---|---|---|
| committer | cjd24 | 2018-04-26 07:02:02 +0100 |
| commit | 025b4833009255baba8a24be4dde78c0f0832fb2 (patch) | |
| tree | 22fa76dfbd6cf33669a280373dacc74c35c0e7d3 /src/profiler/index.d.ts | |
| parent | fixing czi live tiles and adding support for scn live tiles (diff) | |
| parent | Merge branch 'trh/gets' of gitlab.cs.st-andrews.ac.uk:cs3099group-be-4/projec... (diff) | |
| download | medicine-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.ts | 7 |
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; |
