Skip to content

Conversation

@jinyus
Copy link

@jinyus jinyus commented Jan 8, 2021

No description provided.

@jinyus jinyus mentioned this pull request Jan 8, 2021
@xBugzilla
Copy link

Can this pull request get some love?

@agavrel
Copy link

agavrel commented Feb 24, 2024

bump.

return;
}
_count++;
await Future<dynamic>.delayed(widget.delay);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need create new micro task when duration is zero:

if (widget.delay > Duration.zero) await Future.delayed(widget.delay);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants