You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EM.synchrony do
statuses = [
User.very_frequent,
User.frequent,
User.infrequent
]
...
I then want to iterate through the collections and perform an imap call asynchronously using FiberIterator:
EM::Synchrony::FiberIterator.new(statuses.size, @@pool_size).each do |i|
status = statuses[i]
status.each do |user|
# imap stuff goes here
end
end
end
On the examples on the wiki and on the tests I saw, you use other asynchronous I/O such as TCP and HTTP. But is there an option for imap packed in this gem or another gem?
The text was updated successfully, but these errors were encountered:
I am using the following:
I have three active_relation objects in an array:
I then want to iterate through the collections and perform an imap call asynchronously using FiberIterator:
On the examples on the wiki and on the tests I saw, you use other asynchronous I/O such as TCP and HTTP. But is there an option for imap packed in this gem or another gem?
The text was updated successfully, but these errors were encountered: