Skip to content

Calling from tokio context #520

Open
@capacman

Description

@capacman

Hi,
Sorry for if the question is too newbie but is it ok to call functions from a tokio context? like below (tx is streamingcallsink and rx is Clientcstreamreceiver)

tx.feed((data.clone(), WriteFlags::default())).await
rx.await?

Thanks in advance...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions