Skip to content

Commit

Permalink
Refactoring channel folder
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Sep 30, 2024
1 parent f078dd1 commit ffd039f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/actors/proxy.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { Actor, ActorConstructor } from "./runtime.ts";
import { EVENT_STREAM_RESPONSE_HEADER, readFromStream } from "./stream.ts";
import {
type ChannelUpgrader,
type DuplexChannel,
makeWebSocket,
} from "./channels/channel.ts";
import type { Actor, ActorConstructor } from "./runtime.ts";
import { EVENT_STREAM_RESPONSE_HEADER, readFromStream } from "./stream.ts";
} from "./util/channels/channel.ts";

export const ACTOR_ID_HEADER_NAME = "x-deno-isolate-instance-id";
export const ACTOR_ID_QS_NAME = "x-deno-isolate-instance-id";
Expand Down
2 changes: 1 addition & 1 deletion src/actors/runtime.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { assertEquals, assertFalse } from "@std/assert";
import type { ChannelUpgrader } from "./channels/channel.ts";
import { actors } from "./proxy.ts";
import { ActorRuntime } from "./runtime.ts";
import type { ActorState } from "./state.ts";
import type { ChannelUpgrader } from "./util/channels/channel.ts";
import { WatchTarget } from "./util/watch.ts";

class Counter {
Expand Down
2 changes: 1 addition & 1 deletion src/actors/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type ServerSentEventMessage, ServerSentEventStream } from "@std/http";
import { isUpgrade, makeWebSocket } from "./channels/channel.ts";
import { isUpgrade, makeWebSocket } from "./util/channels/channel.ts";
import { ACTOR_ID_HEADER_NAME, ACTOR_ID_QS_NAME } from "./proxy.ts";
import { ActorState } from "./state.ts";
import { DenoKvActorStorage } from "./storage/denoKv.ts";
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit ffd039f

Please sign in to comment.