Skip to content

LaunchOptions.EnqueueAsyncMessages docs suggest it's true by default while it isn't #1701

Open
@Androbin

Description

@Androbin

See the first line:

<summary>
Affects how responses to <see cref="CDPSession.SendAsync"/> are returned to the caller. If <c>true</c> (default), the
response is delivered to the caller on its own thread; otherwise, the response is delivered the same way <see cref="CDPSession.MessageReceived"/>
events are raised.
</summary>
<remarks>
This should normally be set to <c>true</c> to support applications that aren't <c>async</c> "all the way up"; i.e., the application
has legacy code that is not async which makes calls into PuppeteerSharp. If you experience issues, or your application is not mixed sync/async use, you
can set this to <c>false</c> (default).
</remarks>
public bool EnqueueAsyncMessages { get; set; }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions