Skip to main content

Overview

Returns a function that fetches the paginated list of connection requests that other users have sent to the current authenticated user and that have not yet been accepted or declined.

Usage Example

Parameters

The hook returns a function. That function accepts:
number
Page number to fetch. Defaults to 1.
number
Number of results per page. Defaults to 20.

Returns

Returns a PaginatedResponse containing pending connection entries:
PendingConnection[]
Array of pending connection entries.
object
Pagination metadata including page, pageSize, totalPages, totalItems, and hasMore.