Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: ExploreServiceの実装 #46

Open
H1rono opened this issue Jan 23, 2025 · 3 comments
Open

server: ExploreServiceの実装 #46

H1rono opened this issue Jan 23, 2025 · 3 comments
Assignees

Comments

@H1rono
Copy link
Member

H1rono commented Jan 23, 2025

#21 の一部でもある

@H1rono
Copy link
Member Author

H1rono commented Jan 23, 2025

pub trait ExploreService<Context>: Send + Sync + 'static {
type Error: IntoStatus;
fn explore<'a>(
&'a self,
ctx: &'a Context,
req: BoxStream<'a, ExplorationField>,
) -> BoxStream<'a, Result<ExplorationFieldEvents, Self::Error>>;
}

こいつをimplする

@H1rono
Copy link
Member Author

H1rono commented Jan 23, 2025

ProvideEventServiceを使ってイベントのpub/subをやる

@H1rono H1rono changed the title ExploreServiceの実装 server: ExploreServiceの実装 Jan 23, 2025
@H1rono
Copy link
Member Author

H1rono commented Jan 24, 2025

  1. todo!()でimplを生やす
  2. なんか細かく分ける ← TODO
  3. それぞれissueにする

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants