Fix AnyEvent->timer call (#3008)
And make the remaining AnyEvent->condvar and AnyEvent->timer calls consistent.
This commit is contained in:
committed by
GitHub
parent
464c158d9a
commit
28ca1e8529
@ -39,7 +39,7 @@ $i3->connect()->recv;
|
||||
my $ws = fresh_workspace;
|
||||
|
||||
my $cv = AnyEvent->condvar;
|
||||
my $timer = AnyEvent->timer(1, 0, sub { $cv->send(0) });
|
||||
my $timer = AnyEvent->timer(after => 1, interval => 0, cb => sub { $cv->send(0) });
|
||||
$i3->subscribe({
|
||||
window => sub {
|
||||
my ($event) = @_;
|
||||
|
Reference in New Issue
Block a user