spop(
name: KeyT,
count: Optional[int] = None
) → Union[Awaitable[Union[str, List, None]], str, List, None]
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
sPop(
key: RedisArgument
) → BlobStringReply | NullReply
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
spop(
key: RedisKey,
callback?: Callback<string | null>
) → Result<string | null, Context>
spop(
key: RedisKey,
count: number | string,
callback?: Callback<string[]>
) → Result<string[], Context>
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
spop(
key: String
) → String // Bulk reply
spop(
key: String,
count: long
) → Set<String> // Bulk reply
spop(
key: K // the key.
) → V // V bulk-string-reply the removed element, or null when key does not exist.
spop(
key: K, // the key.
count: long // number of members to pop.
) → Set<V> // V bulk-string-reply the removed element, or null when key does not exist.
spop(
key: K // the key.
) → RedisFuture<V> // V bulk-string-reply the removed element, or null when key does not exist.
spop(
key: K, // the key.
count: long // number of members to pop.
) → RedisFuture<Set<V>> // V bulk-string-reply the removed element, or null when key does not exist.
spop(
key: K // the key.
) → Mono<V> // V bulk-string-reply the removed element, or null when key does not exist.
spop(
key: K, // the key.
count: long // number of members to pop.
) → Flux<V> // V bulk-string-reply the removed element, or null when key does not exist.
SPop(
ctx: context.Context,
key: string
) → *StringCmd
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
SetPop(
key: RedisKey, // The key of the set.
flags: CommandFlags // The flags to use for this operation.
) → RedisValue // An array of elements, or an empty array when key does not exist.
SetPop(
key: RedisKey, // The key of the set.
count: long, // The number of elements to return.
flags: CommandFlags // The flags to use for this operation.
) → RedisValue[] // An array of elements, or an empty array when key does not exist.
SetPop(
key: RedisKey, // The key of the set.
flags: CommandFlags // The flags to use for this operation.
) → RedisValue // An array of elements, or an empty array when key does not exist.
SetPop(
key: RedisKey, // The key of the set.
count: long, // The number of elements to return.
flags: CommandFlags // The flags to use for this operation.
) → RedisValue[] // An array of elements, or an empty array when key does not exist.
SetPopAsync(
key: RedisKey, // The key of the set.
flags: CommandFlags // The flags to use for this operation.
) → Task<RedisValue> // An array of elements, or an empty array when key does not exist.
SetPopAsync(
key: RedisKey, // The key of the set.
count: long, // The number of elements to return.
flags: CommandFlags // The flags to use for this operation.
) → Task<RedisValue[]> // An array of elements, or an empty array when key does not exist.
SetPopAsync(
key: RedisKey, // The key of the set.
flags: CommandFlags // The flags to use for this operation.
) → Task<RedisValue> // An array of elements, or an empty array when key does not exist.
SetPopAsync(
key: RedisKey, // The key of the set.
count: long, // The number of elements to return.
flags: CommandFlags // The flags to use for this operation.
) → Task<RedisValue[]> // An array of elements, or an empty array when key does not exist.
spop(
$key: string,
?int $count = null: Any
) → string|array|null
spop(
key: String,
count: Integer
) → String
spop(
key: K
) → Generic
Possible errors
- ERR syntax error:
ErrorKind::Server(ServerErrorKind::ResponseError)
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
spop(
key: K
) → Generic
Possible errors
- ERR syntax error:
ErrorKind::Server(ServerErrorKind::ResponseError)
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.