bonescript pwm

bonescript now apparently now allows one to implement pwm. if this is true, how is it implemented under the hood so to speak? is it something that is subject to interrupt latency and keeps the kernel busy or is it using the PRU? I have a current project for this.