Changeset View
Changeset View
Standalone View
Standalone View
web/grpc/identity-service-client-proxy.js
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | return async (...args: $ReadOnlyArray<mixed>) => { | ||||
// Worker should return a message with the corresponding return type | // Worker should return a message with the corresponding return type | ||||
return (result.result: any); | return (result.result: any); | ||||
}; | }; | ||||
} | } | ||||
deleteUser: () => Promise<void> = this.proxyToWorker('deleteUser'); | deleteUser: () => Promise<void> = this.proxyToWorker('deleteUser'); | ||||
logOut: () => Promise<void> = this.proxyToWorker('logOut'); | |||||
getKeyserverKeys: (keyserverID: string) => Promise<DeviceOlmOutboundKeys> = | getKeyserverKeys: (keyserverID: string) => Promise<DeviceOlmOutboundKeys> = | ||||
this.proxyToWorker('getKeyserverKeys'); | this.proxyToWorker('getKeyserverKeys'); | ||||
getOutboundKeysForUser: ( | getOutboundKeysForUser: ( | ||||
userID: string, | userID: string, | ||||
) => Promise<UserDevicesOlmOutboundKeys[]> = this.proxyToWorker( | ) => Promise<UserDevicesOlmOutboundKeys[]> = this.proxyToWorker( | ||||
'getOutboundKeysForUser', | 'getOutboundKeysForUser', | ||||
); | ); | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |