avane has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 264 seconds]
ur5us has joined #crystal-lang
hexology has quit [Ping timeout: 252 seconds]
hexology has joined #crystal-lang
ur5us has quit [Ping timeout: 246 seconds]
deavmi has quit [Ping timeout: 245 seconds]
deavmi has joined #crystal-lang
deavmi_ has joined #crystal-lang
deavmi has quit [Read error: Connection reset by peer]
postmodern has joined #crystal-lang
<
postmodern>
does crystal stdlib contain common Iterator generic classes for basic things like iterating over an Array or a Set, etc?
<
postmodern>
hmm correction, I guess I could just use myarray.each or myset.each and return their Iterators
ur5us has joined #crystal-lang
deavmi_ has quit [Read error: Connection reset by peer]
deavmi has joined #crystal-lang
avane has joined #crystal-lang
deavmi has quit [Read error: Connection reset by peer]
deavmi has joined #crystal-lang
ur5us has quit [Ping timeout: 246 seconds]
postmodern has quit [Quit: Leaving]
hightower2 has joined #crystal-lang
deavmi has quit [Ping timeout: 246 seconds]
deavmi has joined #crystal-lang
cenan has joined #crystal-lang
cenan has quit [Remote host closed the connection]
<
FromGitter>
<jwaldrip> How does fiber.timeout work?
<
f1refly>
is there a condition where Dir#children can return [] even if there are children in the dir after the first listing?
<
f1refly>
the first listing returns the correct list of children, but every listing after it returns []
<
hightower2>
f1refly, yes that's expected. If you want to read the list again, call Dir#rewind
Volk has joined #crystal-lang
Volk has quit [Changing host]
Volk has joined #crystal-lang
Volk has quit [Quit: See you next time!]
Volk has joined #crystal-lang
Volk has quit [Quit: See you next time!]
Volk has joined #crystal-lang
Volk has quit [Changing host]
Volk has joined #crystal-lang
<
yxhuvud>
jwaldrip: It creates a timeout event, and when that timeout hits the fiber is woken up.
ur5us has joined #crystal-lang
Volk has quit [Quit: See you next time!]
Volk has joined #crystal-lang
Volk has quit [Changing host]
Volk has joined #crystal-lang
Volk has quit [Remote host closed the connection]
ur5us has quit [Quit: Leaving]
ur5us has joined #crystal-lang
deavmi has quit [Ping timeout: 246 seconds]
deavmi has joined #crystal-lang