Skip to content

HelloWorld Example Ignores Initialise Result #30

Description

@ilivewithian

The hello world examples currently have the code:

await subscriber.Initialise(new[] {Assembly.GetExecutingAssembly()}))
await subscriber.ListenForMessages(tokenSource);

It should be more like:

if (await subscriber.Initialise(new[] {Assembly.GetExecutingAssembly()}))
{
    await subscriber.ListenForMessages(tokenSource);
}

All examples and relevant docs will need updating to reflect this improvement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions