Make Channel abstraction support return values

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-06-03 07:48:05 +03:00
1 parent 75b882b208
commit 8310bdba76
10 files changed
+24 -17

No files matched your search

@@ -6,7 +6,7 @@ import { getInjectable } from "@ogre-tools/injectable";
import type { Channel } from "../channel/channel-injection-token";
import { channelInjectionToken } from "../channel/channel-injection-token";
export type RootFrameRenderedChannel = Channel<void>;
export type RootFrameRenderedChannel = Channel<void, never>;
const rootFrameRenderedChannelInjectable = getInjectable({
id: "root-frame-rendered-channel",