MCPcopy Create free account
hub / github.com/OpenDriveLab/DriveAdapter / wrapper

Function wrapper

leaderboard/leaderboard/envs/sensor_interface.py:17–22  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

15
16def threaded(fn):
17 def wrapper(*args, **kwargs):
18 thread = Thread(target=fn, args=args, kwargs=kwargs)
19 thread.setDaemon(True)
20 thread.start()
21
22 return thread
23 return wrapper
24
25

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected