Skip to content

Commit

Permalink
Export CombineablePromise in the public api (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper authored Jan 31, 2024
1 parent 33ad948 commit caeefcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export {
useContext,
ServiceApi,
RpcContext,
CombineablePromise,
} from "./restate_context";
export {
router,
Expand Down
5 changes: 1 addition & 4 deletions src/restate_context_impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ import { Client, SendClient } from "./types/router";
import { RpcRequest, RpcResponse } from "./generated/proto/dynrpc";
import { requestFromArgs } from "./utils/assumptions";
import { RandImpl } from "./utils/rand";
import {
newJournalEntryPromiseId,
PromiseId,
} from "./promise_combinator_tracker";
import { newJournalEntryPromiseId } from "./promise_combinator_tracker";
import { WrappedPromise } from "./utils/promises";

export enum CallContexType {
Expand Down

0 comments on commit caeefcf

Please sign in to comment.