function readFirstPage readFirstPage<T>(res: Response,deserialize: (wire: Wire<T>) => T): Promise<PagedList<T>> Returns the first page res answers as a list, or an empty list when the server refuses it. The profile pages read their lists with it beside the user, whose failure alone fails the page. Type Parameters T Parameters res: Response deserialize: (wire: Wire<T>) => T Return Type Promise<PagedList<T>> Throws Error When the body isn't an envelope.