Skip to content

FunctionPromiseService should throw error when handler function does not resolve its promise #3

@haxwell

Description

@haxwell

Add some way to determine that the function passed to FunctionPromiseServices.initFunc() does not call resolve. For instance, if this was the function, calling it through FunctionPromiseService should cause an error.

		self._functionPromiseService.initFunc("TPQP-ResetModel", () => {
			return new Promise((resolve, reject) => {
				console.log("AFTER CONTENT CHECKED!!!")
				self._modelService._init();
			})
		})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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