doOnce


Description:

public void doOnce (OnceFunc func)

Executes the function only once.

Parameters:

func

function to execute once.