Endo
    Preparing search index...

    Function makeUserControllerPair

    • spawn-user-controller-pair

      Parameters

      • selfProposedName: string

      Returns {
          user: {
              "get-chat-sealed?": () => (handle: any) => boolean & RemotableObject<
                  `Alleged: ${string}`,
              > & RemotableBrand<{}, (handle: any) => boolean>;
              "get-chat-unsealer": () => (handle: any) => any & RemotableObject<
                  `Alleged: ${string}`,
              > & RemotableBrand<{}, (handle: any) => any>;
              "get-subscription-sealer": () => (
                  value: any,
              ) => RemotableObject<`Alleged: ${string}`> & RemotableBrand<{}, {}> & RemotableObject<
                  `Alleged: ${string}`,
              > & RemotableBrand<
                  {},
                  (
                      value: any,
                  ) => RemotableObject<`Alleged: ${string}`> & RemotableBrand<{}, {}>,
              >;
              "self-proposed-name": () => string;
          } & RemotableObject<`Alleged: ${string}`> & RemotableBrand<
              {},
              {
                  "get-chat-sealed?": () => (handle: any) => boolean & RemotableObject<
                      `Alleged: ${string}`,
                  > & RemotableBrand<{}, (handle: any) => boolean>;
                  "get-chat-unsealer": () => (handle: any) => any & RemotableObject<
                      `Alleged: ${string}`,
                  > & RemotableBrand<{}, (handle: any) => any>;
                  "get-subscription-sealer": () => (
                      value: any,
                  ) => RemotableObject<`Alleged: ${string}`> & RemotableBrand<{}, {}> & RemotableObject<
                      `Alleged: ${string}`,
                  > & RemotableBrand<
                      {},
                      (
                          value: any,
                      ) => RemotableObject<`Alleged: ${(...)}`> & RemotableBrand<{}, {}>,
                  >;
                  "self-proposed-name": () => string;
              },
          >;
          userController: {
              "connect-client": (client: any) => (string | Map<any, any>)[];
              "join-room": (
                  room: any,
              ) => Promise<
                  {
                      leave: () => any;
                      "list-users": () => any;
                      "send-message": (contents: any) => Promise<any>;
                      subscribe: (subscriber: any) => (string | (...) & (...) & (...))[];
                  } & RemotableObject<`Alleged: ${string}`> & RemotableBrand<
                      {},
                      {
                          leave: () => any;
                          "list-users": () => any;
                          "send-message": (contents: any) => Promise<any>;
                          subscribe: (subscriber: any) => ((...) | (...))[];
                      },
                  >,
              >;
              whoami: () => {
                  "get-chat-sealed?": () => (handle: any) => boolean & RemotableObject<
                      `Alleged: ${string}`,
                  > & RemotableBrand<{}, (handle: any) => boolean>;
                  "get-chat-unsealer": () => (handle: any) => any & RemotableObject<
                      `Alleged: ${string}`,
                  > & RemotableBrand<{}, (handle: any) => any>;
                  "get-subscription-sealer": () => (
                      value: any,
                  ) => RemotableObject<(...)> & RemotableBrand<(...), (...)> & RemotableObject<
                      `Alleged: ${string}`,
                  > & RemotableBrand<{}, (value: any) => (...) & (...)>;
                  "self-proposed-name": () => string;
              } & RemotableObject<`Alleged: ${string}`> & RemotableBrand<
                  {},
                  {
                      "get-chat-sealed?": () => (handle: any) => boolean & RemotableObject<
                          `Alleged: ${(...)}`,
                      > & RemotableBrand<{}, (handle: ...) => ...>;
                      "get-chat-unsealer": () => (handle: any) => any & RemotableObject<
                          `Alleged: ${(...)}`,
                      > & RemotableBrand<{}, (handle: ...) => ...>;
                      "get-subscription-sealer": () => (value: any) => (...) & (...) & RemotableObject<
                          `Alleged: ${(...)}`,
                      > & RemotableBrand<{}, (value: ...) => ...>;
                      "self-proposed-name": () => string;
                  },
              >;
          } & RemotableObject<`Alleged: ${string}`> & RemotableBrand<
              {},
              {
                  "connect-client": (client: any) => (string | Map<any, any>)[];
                  "join-room": (
                      room: any,
                  ) => Promise<
                      {
                          leave: () => any;
                          "list-users": () => any;
                          "send-message": (contents: any) => Promise<any>;
                          subscribe: (subscriber: any) => ((...) | (...))[];
                      } & RemotableObject<`Alleged: ${string}`> & RemotableBrand<
                          {},
                          {
                              leave: () => any;
                              "list-users": () => any;
                              "send-message": (contents: any) => Promise<(...)>;
                              subscribe: (subscriber: any) => (...)[];
                          },
                      >,
                  >;
                  whoami: () => {
                      "get-chat-sealed?": () => (handle: any) => boolean & RemotableObject<
                          `Alleged: ${(...)}`,
                      > & RemotableBrand<{}, (handle: ...) => ...>;
                      "get-chat-unsealer": () => (handle: any) => any & RemotableObject<
                          `Alleged: ${(...)}`,
                      > & RemotableBrand<{}, (handle: ...) => ...>;
                      "get-subscription-sealer": () => (value: any) => (...) & (...) & RemotableObject<
                          `Alleged: ${(...)}`,
                      > & RemotableBrand<{}, (value: ...) => ...>;
                      "self-proposed-name": () => string;
                  } & RemotableObject<`Alleged: ${string}`> & RemotableBrand<
                      {},
                      {
                          "get-chat-sealed?": () => (handle: ...) => ... & RemotableObject<
                              (...),
                          > & RemotableBrand<(...), (...)>;
                          "get-chat-unsealer": () => (handle: ...) => ... & RemotableObject<
                              (...),
                          > & RemotableBrand<(...), (...)>;
                          "get-subscription-sealer": () => (value: ...) => ... & RemotableObject<
                              (...),
                          > & RemotableBrand<(...), (...)>;
                          "self-proposed-name": () => string;
                      },
                  >;
              },
          >;
      }