Implementation for {@link VaadinSession#access(Runnable)}. This method is implemented here instead of in {@link VaadinSession} to enable overridingthe implementation without using a custom subclass of VaadinSession.
@since 7.1
@see VaadinSession#access(Runnable)
@param session the vaadin session to access
@param runnable the runnable to run with the session locked
@return a future that can be used to check for task completion and tocancel the task
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.