diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-07-11 15:58:48 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-07-11 16:00:06 -0400 |
| commit | 9bdcd2a495d4189d6536d43f1294dffb38daa9a5 (patch) | |
| tree | 95072bfc6959b2b7efd26381492934855b8c0fbf /std/event.zig | |
| parent | 5954c94d2079c9b378ae14bb4c9c24aed719beec (diff) | |
| download | zig-9bdcd2a495d4189d6536d43f1294dffb38daa9a5.tar.gz zig-9bdcd2a495d4189d6536d43f1294dffb38daa9a5.zip | |
add std.event.Future
This is like a promise, but it's for multiple getters, and
uses an event loop.
Diffstat (limited to 'std/event.zig')
| -rw-r--r-- | std/event.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/std/event.zig b/std/event.zig index 516defebf8..f3913a432b 100644 --- a/std/event.zig +++ b/std/event.zig @@ -4,6 +4,7 @@ pub const Lock = @import("event/lock.zig").Lock; pub const tcp = @import("event/tcp.zig"); pub const Channel = @import("event/channel.zig").Channel; pub const Group = @import("event/group.zig").Group; +pub const Future = @import("event/future.zig").Group; test "import event tests" { _ = @import("event/locked.zig"); @@ -12,4 +13,5 @@ test "import event tests" { _ = @import("event/tcp.zig"); _ = @import("event/channel.zig"); _ = @import("event/group.zig"); + _ = @import("event/future.zig"); } |
