module Typhoeus::Pool
def self.get
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.get: () -> Ethon::Easy
This signature was generated using 25 samples from 1 application.
-
(Ethon::Easy)
- The easy.
Other tags:
- Example: Return easy. -
def self.get @mutex.synchronize do if @pid == Process.pid easies.pop else # Process has forked. Clear all easies to avoid sockets being # shared between processes. @pid = Process.pid easies.clear nil end end || Ethon::Easy.new end