るりまサーチ

最速Rubyリファレンスマニュアル検索!
60件ヒット [1-60件を表示] (0.054秒)
トップページ > クエリ:IO[x] > クエリ:timeout[x] > クエリ:wait_readable[x]

別のキーワード

  1. timeout timeout
  2. kernel timeout
  3. openssl timeout=
  4. openssl timeout
  5. timeout timeouterror

ライブラリ

クラス

検索結果

IO#wait_readable(timeout = nil) -> bool | self | nil (36221.0)

self が読み込み可能になるまでブロックし、読み込み可能になったら 真値を返します。タイムアウト、もしくはEOFで それ以上読みこめない場合は偽の値を返します。

...い。

timeout
を指定した場合は、指定秒数経過するまでブロックし、タ
イムアウトした場合は nil を返します。

self が EOF に達していれば false を返します。

@param timeout タイムアウトまでの秒数を指定します。


@see IO#wait_writ...

IO#wait_writable(timeout) -> self | nil (21125.0)

self が書き込み可能になるまでブロックし、書き込み可能になったら self を 返します。

...、書き込み可能になったら self を
返します。

timeout
を指定した場合は、指定秒数経過するまでブロックし、タイムアウト
した場合は nil を返します。

@param timeout タイムアウトまでの秒数を指定します。

@see IO#wait_readable...

IO#wait(timeout = nil) -> bool | self | nil (21121.0)

self が読み込み可能になるまでブロックし、読み込み可能になったら 真値を返します。タイムアウト、もしくはEOFで それ以上読みこめない場合は偽の値を返します。

...い。

timeout
を指定した場合は、指定秒数経過するまでブロックし、タ
イムアウトした場合は nil を返します。

self が EOF に達していれば false を返します。

@param timeout タイムアウトまでの秒数を指定します。


@see IO#wait_writ...

IO#wait_writable -> self (21025.0)

self が書き込み可能になるまでブロックし、書き込み可能になったら self を 返します。

...、書き込み可能になったら self を
返します。

timeout
を指定した場合は、指定秒数経過するまでブロックし、タイムアウト
した場合は nil を返します。

@param timeout タイムアウトまでの秒数を指定します。

@see IO#wait_readable...

NEWS for Ruby 3.1.0 (138.0)

NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...rependしている場合、継承ツリーを変更しません。 17423
* Module#private, Module#public, Module#protected, Module#module_functionが引数を返すようになりました。引数が1つでも渡されている場合、それが返されます。引数なしの場合、nilが...
... Timeout.timeout timeout_after フックが導入されました。 17470
* 新しいSchedulerのフックのio_readとio_writeが導入され、zero-copy read/writeのための低レベルのIO::Bufferが導入されました。 18020
* IOフックのio_wait、io_read、io_write...
...。 18190

== 互換性 (機能追加とバグ修正を除く)

* rb_io_wait_readable、 rb_io_wait_writable、 rb_wait_for_single_fd は非推奨で、それぞれ rb_io_maybe_wait_readable、 rb_io_maybe_wait_writable、 rb_io_maybe_wait に置き換えられます。 rb_thread_wait_fd と rb_th...

絞り込み条件を変える

NEWS for Ruby 2.3.0 (126.0)

NEWS for Ruby 2.3.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...うとして RuntimeError が発生したときにそのオブジェクトが生成された位置を表示します。
11725

* safe navigation operator (ぼっち演算子):
* object&.foo という形式のメソッド呼び出し形式が追加されました。これは object が ni...
...すために Logger#reopen が追加されました。
11696

* io/wait
* IO#wait_readable は FIONREAD をチェックしなくなりました。
ソケットのようなバイトストリームではないIOで使われます。

* Net::FTP
* Net::FTP#mlst を追加。...
...トしないようになりました。
StringIO#set_encoding を使わずに文字列のエンコーディングを設定すると予期しない動作の原因となるかもしれません。
11827

* timeout
* Object#timeoutは呼び出すと非推奨として警告されるよ...

NEWS for Ruby 3.0.0 (90.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...ated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now matches the behavior of Procs...
...their values. 15822
* IO
* IO#nonblock? now defaults to `true`. 16786
* IO#wait_readable, IO#wait_writable, IO#read, IO#write and other related methods (e.g. IO#puts, IO#gets) may invoke the scheduler hook `#io_wait(io, events, timeout)` in a non-blocking execution context. 16786
* Ker...
...e scheduler hook `#kernel_sleep(...)` in a non-blocking execution context. 16786
* Module
* Module#include and Module#prepend now affect classes and modules that have already included or prepended the receiver, mirroring the behavior if the arguments were included in the receiver before the ot...