proc.scan
0.000005

Iterates over stored procs.

Arguments
total
The total number of stored procs to return.
count
The number of stored procs to return in each scan. Defaults to 250.
cursor
The cursor from the previous response.
Return Value
A cursor-based enumerable that iterates over stored procs.
something went wrong :(
Scanning through stored procs
Setup
authorization=PROCAUTH
require "proc"

client = Proc.connect("PROCAUTH")
const Proc = require("@proc.dev/client");
const client = Proc.connect("PROCAUTH");
client.proc.scan.each do |name|
  ...
end
client.proc.scan.each((name) => {
  ...
});
curl "https://proc.run/proc/scan" --silent --request POST \
--header "authorization: bearer $authorization" \
--header "accept: text/plain"
 

[...]

proc.scan returns a cursor, providing a way for results to be fetched in multiple smaller sets—learn more in the docs.


Stuck? Want to chat about an idea? Join the community on Discord.