Skip to content

Wait for callback instead of retrying while waiting for child object #2

@QuadratClown

Description

@QuadratClown

see getChildObject in base_interface.ts

if (options.maxRetries > 0) {
            await sleep(options.retryIntervalMs)
            options.maxRetries--
            return this.getChildObject(interfaceName, constructor, filter, options)
}

better way to do it by checking incoming InterfacesAdded events instead

Metadata

Metadata

Assignees

No one assigned

    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