All Manuals > LispWorks® User Guide and Reference Manual > 47 The SYSTEM Package

wait-for-input-streams-returning-first Function

Summary

Waits for input on a list of socket streams, returning the first stream that is ready.

Package

system

Signature

wait-for-input-streams-returning-first streams &key wait-function wait-reason timeout => result

Arguments
streams
A list, each member of which is a socket-stream.
wait-function
A function of no arguments.
wait-reason
A string.
timeout
A real number or nil.
Values
result
A socket-stream or nil.
Description

The function wait-for-input-streams-returning-first behaves just like wait-for-input-streams except that it returns the first stream in the list streams that is ready for input.

See wait-for-input-streams for details of how wait-function, wait-reason and timeout are used.

See also

wait-for-input-streams


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:02