Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Async method without await #2

Open
@abilson

Description

@abilson

In CreateWorkspace.cs line 32 the method definition is marked async, however, there is no await call in the method body.

This would be a quick fix to add the await keyword, however, the async call on line 77 returns an object, ProcessOperationResult, which returns a compiler error when using the await keyword,

'ProcessOperationResult' does not contain a definition for 'GetAwaiter'

This may indicate a defect, not in this source code, but in the API call not being properly async:

proxy.Repositories.Workspace.CreateAsync(templateArtifactID, workspaceDTO);

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