Skip to content

Commit

Permalink
Make consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles committed Feb 8, 2024
1 parent 39f628b commit d756e10
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub struct EventSinkClient<R> {
}

type Client<R> = EventSinkClient<R>;
type ClientBuilder<R> = EventSinkClientBuilder<R>;

#[derive(Serialize, Deserialize)]
struct ClientInner<R> {
Expand Down Expand Up @@ -71,9 +72,9 @@ pub struct EventSinkInfo {
pub pending_events: u32,
}

impl<R: Runtime + Send + 'static> EventSinkClientBuilder<R> {
pub fn new(event_sink_canister_id: Principal, runtime: R) -> EventSinkClientBuilder<R> {
EventSinkClientBuilder {
impl<R: Runtime + Send + 'static> ClientBuilder<R> {
pub fn new(event_sink_canister_id: Principal, runtime: R) -> ClientBuilder<R> {
ClientBuilder {
event_sink_canister_id,
runtime,
flush_delay: None,
Expand Down

0 comments on commit d756e10

Please sign in to comment.