rpc.km 601 B

12345678910111213141516171819
  1. export function serve:[Instance,Argument]
  2. & { service: ServiceIdentifier[Instance,Argument],
  3. backend: ServerBackend,
  4. options: ServerOptions,
  5. constructor: ServiceConstructor[Instance,Argument] }
  6. => Async[never,Error]
  7. native 'rpc-serve';
  8. export function access:[Instance,Argument]
  9. & { service: ServiceIdentifier[Instance,Argument],
  10. backend: ClientBackend,
  11. options: ClientOptions,
  12. argument: Argument,
  13. consumer: ServiceConsumer[Instance] }
  14. => Async[unit,Error]
  15. native 'rpc-access';