public static Scheduler get(ThreadContext context) {
        switch (context) {
            case SYNC:
                return sync();
            case ASYNC:
                return async();
            default:
                throw new AssertionError();
        }
    }
Gets a scheduler for the given context.

@param context the context
@return a scheduler
helper/src/main/java/me/lucko/helper/Schedulers.java