ae.net.sync

ae.net.sync

Members

Classes

ThreadAnchor
class ThreadAnchor

An object which allows calling a function in a different thread. Create ThreadAnchor in the main thread (the thread in which the code will run in), and then call runWait or runAsync from a different thread.

Properties

thisThread
ThreadAnchor thisThread [@property getter]

Return a ThreadAnchor for the current thread. One instance is created and reused per thread.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>