Skip to content

Commit

Permalink
Added ActionQueue and filled out template fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
T99 committed Jul 19, 2019
1 parent f0f6f5f commit 859b1cd
Show file tree
Hide file tree
Showing 19 changed files with 8,284 additions and 182 deletions.
8 changes: 8 additions & 0 deletions .d.ts/action-queue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { Queue } from "@jsdsl/queue";
declare type Action<E> = () => E;
export declare class ActionQueue<E = any> extends Queue<Action<E>> {
constructor(...actions: Array<Action<E>>);
execute(): E;
executeAll(): E[];
}
export {};
1 change: 1 addition & 0 deletions .d.ts/main.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { ActionQueue } from "./action-queue";
1 change: 0 additions & 1 deletion .d.ts/readme.md

This file was deleted.

4 changes: 0 additions & 4 deletions .gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions init.sh

This file was deleted.

1 change: 1 addition & 0 deletions js/action-queue.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions js/action-queue.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions js/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions js/main.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion js/readme.md

This file was deleted.

4 changes: 2 additions & 2 deletions license.md
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ to the start of each source file to most effectively state the exclusion of warr
and each file should have at least the “copyright” line and a pointer to
where the full notice is found.

repo-name - Project description here.
@jsdsl/action-queue - A series of executable actions represented as a queue.
Copyright (C) 2019 Trevor Sears

This program is free software: you can redistribute it and/or modify
Expand All @@ -573,7 +573,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short notice like this
when it starts in an interactive mode:

repo-name Copyright (C) 2019 Trevor Sears
@jsdsl/action-queue Copyright (C) 2019 Trevor Sears
This program comes with ABSOLUTELY NO WARRANTY; for details type 'show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'show c' for details.
Expand Down
Loading

0 comments on commit 859b1cd

Please sign in to comment.