temporaryEntity

inline fun <T> temporaryEntity(run: (Entity) -> T): T

Creates a new empty entity that will get removed once run completes or fails.