Skip to content

use in async context #48

@thewh1teagle

Description

@thewh1teagle

How can I use this in async context?
I'm trying to use it in tauri framework, when user invoke function it captures frames in loop and do async task with every capture
but I got the error:

Future cannot be sent between threads safely
within `impl futures::Future<Output = Result<(), std::string::String>>`, the trait `std::marker::Send` is not implemented for `*mut winapi::d3d11::ID3D11DeviceContext

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions