taskbridgeapp.gui.viewmodel.threadedtasks.NotePreWarm

class taskbridgeapp.gui.viewmodel.threadedtasks.NotePreWarm(cb)

Bases: QThread

Performs tasks required to allow the user to configure note synchronisation and prepare for synchronisation.

Methods

run

Carries out the pre-warm tasks.

Attributes

__display_name__

__name__

__orig_bases__

__sphinx_decorator_args__

__sphinx_mock__

__call__(*args, **kwargs)

Call self as a function.

Return type:

Any

__init__(cb)

Initialises the pre-warm.

Parameters:

cb (Callable) – function which is called when the pre-warm is complete.

message_signal

Log messages are sent to this signal.

alias of str

run()

Carries out the pre-warm tasks. This includes.

  1. Fetch the local notes folders.

  2. Fetch the remote notes folders.

  3. Synchronise deleted folders.

  4. Associate local and remote folders.