Skip to main content

execute

Function execute 

Source
pub async fn execute(
    db: &DbPool,
    x_client: &dyn XApiClient,
    config: &Config,
    input: DiscoverInput,
) -> Result<DiscoverOutput, WorkflowError>
Expand description

Execute the discover step: search, score, persist, rank.

All X API access goes through toolkit::read::search_tweets.