OptionalabortSignal used to cancel the operation.
OptionalmaxMaximum number of spaces to return
OptionalonCallback invoked with the complete response before the operation returns or throws.
Optionalsort(id) the space id, (lastactivity) the last activity timestamp, (created) space creation date
OptionaltracingContext used to parent the operation's tracing span.
Optionaltype(group) only include group spaces, (direct) only include 1 to 1 spaces, returns all if not specified
Options for the getSpaces operation.