Commit Graph

  • 6fcf6209e0
    Merge branch 'master' of https://github.com/EliasFleckenstein03/lua_async master Elias Fleckenstein 2021-12-14 18:11:51 +01:00
  • 21b795f826
    Fix promise rejection catching Elias Fleckenstein 2021-11-29 23:38:43 +01:00
  • 3c41b0adf7
    Append / to path Elias Fleckenstein 2021-11-29 23:33:52 +01:00
  • 4a7fc56c40
    Implement poll phase Elias Fleckenstein 2021-11-29 23:19:16 +01:00
  • 868e25ffa3
    Fix events Elias Fleckenstein 2021-11-29 22:40:12 +01:00
  • 2a680b1095
    Fix optional socket dependency Elias Fleckenstein 2021-11-28 20:55:33 +01:00
  • d53a22a712
    Subtract dtime from sleep time Elias Fleckenstein 2021-11-21 16:50:09 +01:00
  • 40beef755f
    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 Elias Fleckenstein 2021-11-21 16:37:08 +01:00
  • d8c45339fc
    Fix typo in interval code Elias Fleckenstein 2021-11-21 16:32:53 +01:00
  • fa58e719d5 Add Event and EventTarget Elias Fleckenstein 2021-08-06 23:19:34 +02:00
  • 2615778348 Port to Lua 5.3.3 Elias Fleckenstein 2021-08-06 22:54:20 +02:00
  • cb1dea66c4 Replace table.copy which is not present in Lua by default Elias Fleckenstein 2021-08-06 22:50:36 +02:00
  • d7940dbc69 Add timeout examples Elias Fleckenstein 2021-08-06 22:40:56 +02:00
  • d766849992 Document promises Elias Fleckenstein 2021-08-06 22:30:31 +02:00
  • 6b3249e074 Document resume() Elias Fleckenstein 2021-08-06 22:07:17 +02:00
  • a8361f73c9 Move resume() to util.lua Elias Fleckenstein 2021-08-06 22:01:53 +02:00
  • e6b45a4011 Document utility functions and limiting Elias Fleckenstein 2021-08-06 21:50:43 +02:00
  • 727b8adcfe Fix .then() reject handler being set to resolve handler Elias Fleckenstein 2021-08-06 21:49:57 +02:00
  • 645f45994b Second argument of .then() is a reject handler Elias Fleckenstein 2021-08-06 21:48:07 +02:00
  • 5c5c5d17f4 Implement yield() using a promise and setImmediate Elias Fleckenstein 2021-08-06 21:19:35 +02:00
  • bc2179e07b Revert "More efficient sleep() implementation" Elias Fleckenstein 2021-08-06 21:15:57 +02:00
  • 643f41af5f More efficient sleep() implementation Elias Fleckenstein 2021-08-06 21:13:58 +02:00
  • 457e91a5ee Add lua_async.kill_thread Elias Fleckenstein 2021-08-06 20:46:55 +02:00
  • 96c25df59c 'Intervals' instead of 'Interval' Elias Fleckenstein 2021-08-06 20:37:07 +02:00
  • fc5751ef0f Fix mistake in setImmediate documentation Elias Fleckenstein 2021-08-06 20:36:08 +02:00
  • 35a3733228 Fix some small mistakes in the documentation of clearImmediate Elias Fleckenstein 2021-08-06 20:35:18 +02:00
  • 5c766eaae7 Document timeouts, intervals and immediates Elias Fleckenstein 2021-08-06 20:33:05 +02:00
  • fe5c1a3ef2 Safe immediate implementation Elias Fleckenstein 2021-08-06 20:25:35 +02:00
  • 48ab864d43 Safe interval implementation Elias Fleckenstein 2021-08-06 20:21:58 +02:00
  • 03945d096e Safer timeout implementation Elias Fleckenstein 2021-08-06 20:01:59 +02:00
  • c390934804 Add lua_async.run Elias Fleckenstein 2021-08-06 19:38:39 +02:00
  • a2770298f0 Add source code Elias Fleckenstein 2021-08-06 19:19:23 +02:00
  • f6cc945b08
    Initial commit Elias Fleckenstein 2021-08-06 19:14:45 +02:00