def METHOD_NAME(resolve: ResolveFunc[Optional[sublime.View]]) -> None:
    global opening_files
    # Save the promise in the first element of the tuple -- except we cannot yet do that here
    opening_files[file] = (None, resolve)  # type: ignore