Function: ghub-continue

ghub-continue is a byte-compiled function defined in ghub.el.

Signature

(ghub-continue REQ)

Documentation

If there is a next page, then retrieve that.

This function is only intended to be called from callbacks. If there is a next page, then retrieve that and return the buffer that the result will be loaded into, or t if the process has already completed. If there is no next page, then return nil.

Callbacks are called with four arguments (see ghub-request). The forth argument is a ghub--req struct, intended to be passed to this function. A callback may use the struct's extra slot to pass additional information to the callback that will be called after the next request has finished. Use the function ghub-req-extra to get and set the value of this slot.

Source Code

;; Defined in ~/.emacs.d/elpa/ghub-20260401.1239/ghub.el
(defun ghub-continue (req)
  "If there is a next page, then retrieve that.

This function is only intended to be called from callbacks.  If
there is a next page, then retrieve that and return the buffer
that the result will be loaded into, or t if the process has
already completed.  If there is no next page, then return nil.

Callbacks are called with four arguments (see `ghub-request').
The forth argument is a `ghub--req' struct, intended to be passed
to this function.  A callback may use the struct's `extra' slot
to pass additional information to the callback that will be
called after the next request has finished.  Use the function
`ghub-req-extra' to get and set the value of this slot."
  (and (assq 'next (ghub-response-link-relations req))
       (or (ghub--retrieve nil req) t)))