Commit Graph

9 Commits

Author SHA1 Message Date
2552fa9db9 Add finally callback to promises.
Some checks failed
continuous-integration/drone/push Build is failing
A finally callback is called on success or fail of the promise.
2023-07-15 19:51:44 +02:00
cade15a437 Fix warning about function definitions without argument.
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-15 14:44:35 +02:00
e81c5e2690 Add a function to try to get a result or throw the error if there is one.
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-15 14:42:33 +02:00
c6b3fde6d4 Add an error system, with its function result system that can carry a value and an error at the same time. 2023-02-12 17:38:57 +01:00
70c666f460 Fix bold reset code. 2023-02-12 17:03:47 +01:00
da1c00b84f Add line break at the end of a ksrlog. 2023-02-12 17:00:37 +01:00
a6f65c9e5b Add new logging functions, more styling attributes, and test it. 2023-02-12 16:31:42 +01:00
63c4b3df3e Improve krsforeach definition to accept arguments without parentheses. 2023-02-11 19:23:26 +01:00
46b6f24432 Create first structures and functions.
+ Create ksrarrays.
+ Create ksrbuffers.
+ Create ksrpromises.
+ Create ksregex.
+ Create strings and files helper functions.
+ Define some logging constants.

+ Setup basic unit tests and code coverage.
2021-07-31 19:06:57 +02:00