]> git.lizzy.rs Git - lua_async.git/log
lua_async.git
2 years agoMerge branch 'master' of https://github.com/EliasFleckenstein03/lua_async master
Elias Fleckenstein [Tue, 14 Dec 2021 17:11:51 +0000 (18:11 +0100)]
Merge branch 'master' of https://github.com/EliasFleckenstein03/lua_async

2 years agoFix promise rejection catching
Elias Fleckenstein [Mon, 29 Nov 2021 22:38:43 +0000 (23:38 +0100)]
Fix promise rejection catching

2 years agoAppend / to path
Elias Fleckenstein [Mon, 29 Nov 2021 22:33:52 +0000 (23:33 +0100)]
Append / to path

2 years agoImplement poll phase
Elias Fleckenstein [Mon, 29 Nov 2021 22:19:16 +0000 (23:19 +0100)]
Implement poll phase

2 years agoFix events
Elias Fleckenstein [Mon, 29 Nov 2021 21:40:12 +0000 (22:40 +0100)]
Fix events

2 years agoFix optional socket dependency
Elias Fleckenstein [Sun, 28 Nov 2021 19:55:33 +0000 (20:55 +0100)]
Fix optional socket dependency

2 years agoSubtract dtime from sleep time
Elias Fleckenstein [Sun, 21 Nov 2021 15:50:09 +0000 (16:50 +0100)]
Subtract dtime from sleep time

2 years agoSleep for unused tick time & optional realtime
Elias Fleckenstein [Sun, 21 Nov 2021 15:37:08 +0000 (16:37 +0100)]
Sleep for unused tick time & optional realtime
- Optional luasocket dependency for realtime measurements (instead of CPU time)
- lua_async.run() will wait for the time to be ready

2 years agoFix typo in interval code
Elias Fleckenstein [Sun, 21 Nov 2021 15:32:53 +0000 (16:32 +0100)]
Fix typo in interval code

2 years agoAdd Event and EventTarget
Elias Fleckenstein [Fri, 6 Aug 2021 21:19:34 +0000 (23:19 +0200)]
Add Event and EventTarget

2 years agoPort to Lua 5.3.3
Elias Fleckenstein [Fri, 6 Aug 2021 20:54:20 +0000 (22:54 +0200)]
Port to Lua 5.3.3

2 years agoReplace table.copy which is not present in Lua by default
Elias Fleckenstein [Fri, 6 Aug 2021 20:50:36 +0000 (22:50 +0200)]
Replace table.copy which is not present in Lua by default

2 years agoAdd timeout examples
Elias Fleckenstein [Fri, 6 Aug 2021 20:40:56 +0000 (22:40 +0200)]
Add timeout examples

2 years agoDocument promises
Elias Fleckenstein [Fri, 6 Aug 2021 20:30:31 +0000 (22:30 +0200)]
Document promises

2 years agoDocument resume()
Elias Fleckenstein [Fri, 6 Aug 2021 20:07:17 +0000 (22:07 +0200)]
Document resume()

2 years agoMove resume() to util.lua
Elias Fleckenstein [Fri, 6 Aug 2021 20:01:53 +0000 (22:01 +0200)]
Move resume() to util.lua

2 years agoDocument utility functions and limiting
Elias Fleckenstein [Fri, 6 Aug 2021 19:50:43 +0000 (21:50 +0200)]
Document utility functions and limiting

2 years agoFix .then() reject handler being set to resolve handler
Elias Fleckenstein [Fri, 6 Aug 2021 19:49:57 +0000 (21:49 +0200)]
Fix .then() reject handler being set to resolve handler

2 years agoSecond argument of .then() is a reject handler
Elias Fleckenstein [Fri, 6 Aug 2021 19:48:07 +0000 (21:48 +0200)]
Second argument of .then() is a reject handler

2 years agoImplement yield() using a promise and setImmediate
Elias Fleckenstein [Fri, 6 Aug 2021 19:19:35 +0000 (21:19 +0200)]
Implement yield() using a promise and setImmediate

2 years agoRevert "More efficient sleep() implementation"
Elias Fleckenstein [Fri, 6 Aug 2021 19:15:57 +0000 (21:15 +0200)]
Revert "More efficient sleep() implementation"

This reverts commit 643f41af5ff64405f0860cb4c86aaf733aa28cab.

2 years agoMore efficient sleep() implementation
Elias Fleckenstein [Fri, 6 Aug 2021 19:13:58 +0000 (21:13 +0200)]
More efficient sleep() implementation

2 years agoAdd lua_async.kill_thread
Elias Fleckenstein [Fri, 6 Aug 2021 18:46:55 +0000 (20:46 +0200)]
Add lua_async.kill_thread

2 years ago'Intervals' instead of 'Interval'
Elias Fleckenstein [Fri, 6 Aug 2021 18:37:07 +0000 (20:37 +0200)]
'Intervals' instead of 'Interval'

2 years agoFix mistake in setImmediate documentation
Elias Fleckenstein [Fri, 6 Aug 2021 18:36:08 +0000 (20:36 +0200)]
Fix mistake in setImmediate documentation

2 years agoFix some small mistakes in the documentation of clearImmediate
Elias Fleckenstein [Fri, 6 Aug 2021 18:35:18 +0000 (20:35 +0200)]
Fix some small mistakes in the documentation of clearImmediate

2 years agoDocument timeouts, intervals and immediates
Elias Fleckenstein [Fri, 6 Aug 2021 18:33:05 +0000 (20:33 +0200)]
Document timeouts, intervals and immediates

2 years agoSafe immediate implementation
Elias Fleckenstein [Fri, 6 Aug 2021 18:25:35 +0000 (20:25 +0200)]
Safe immediate implementation

2 years agoSafe interval implementation
Elias Fleckenstein [Fri, 6 Aug 2021 18:21:58 +0000 (20:21 +0200)]
Safe interval implementation

2 years agoSafer timeout implementation
Elias Fleckenstein [Fri, 6 Aug 2021 18:01:59 +0000 (20:01 +0200)]
Safer timeout implementation

2 years agoAdd lua_async.run
Elias Fleckenstein [Fri, 6 Aug 2021 17:38:39 +0000 (19:38 +0200)]
Add lua_async.run

2 years agoAdd source code
Elias Fleckenstein [Fri, 6 Aug 2021 17:19:23 +0000 (19:19 +0200)]
Add source code

2 years agoInitial commit
Elias Fleckenstein [Fri, 6 Aug 2021 17:14:45 +0000 (19:14 +0200)]
Initial commit