<commit_before>###TeaTime v0.7 alpha

_[DOWNLOAD](http://github.com/alvivar/TeaTime/raw/master/TeaTime.zip)_


TeaTime is a fast & simple queue for timed callbacks, focused on solving
common coroutines patterns in Unity games.







By **[<NAME>](http://twitter.com/matnesis)**.<commit_msg>TeaTime showcase example<commit_after>###TeaTime v0.7 alpha

_[DOWNLOAD](http://github.com/alvivar/TeaTime/raw/master/TeaTime.zip)_


TeaTime is a fast & simple queue for timed callbacks, focused on solving
common coroutines patterns in Unity games.


	// In MonoBehaviours
	TeaTime queue = this.tt().Add(1, () =>
	{
		Debug.Log("Once second later! " + Time.time);
	})
	.Loop(3, (ttHandler loop) =>
	{
		// This will repeat per frame during the loop duration
		transform.position =
			Vector3.Lerp(
				transform.position,
				transform.position + Random.insideUnitSphere,
				loop.deltaTime // deltaTime sincronized with the loop duration
			);
	})
	.Add(() =>
	{
		Debug.Log("The loop is done! " + Time.time);
	})
	.Repeat(); // Repeat forever!

	// And
	queue.Pause();
	queue.Play();
	queue.Stop();
	queue.Reset();


By **[<NAME>](http://twitter.com/matnesis)**.
{'fraction_non_alphanumeric': 0.1513840830449827, 'fraction_numerical': 0.006055363321799308, 'mean_word_length': 3.78099173553719, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2416084', 'n_tokens_mistral': 430, 'n_tokens_neox': 393, 'n_words': 96}